Fix analysis error

pull/1214/head
Cheryl 2 years ago
parent 0a3fe3f63c
commit 3b43baf229
  1. 3
      lib/src/widgets/raw_editor.dart
  2. 2
      lib/src/widgets/text_block.dart
  3. 2
      pubspec.yaml

@ -325,6 +325,7 @@ class RawEditorState extends EditorState
TextDirection get _textDirection => Directionality.of(context); TextDirection get _textDirection => Directionality.of(context);
@override
void insertContent(KeyboardInsertedContent content) {} void insertContent(KeyboardInsertedContent content) {}
/// Returns the [ContextMenuButtonItem]s representing the buttons in this /// Returns the [ContextMenuButtonItem]s representing the buttons in this
@ -1711,7 +1712,7 @@ class RawEditorState extends EditorState
} }
class _Editor extends MultiChildRenderObjectWidget { class _Editor extends MultiChildRenderObjectWidget {
_Editor({ const _Editor({
required Key key, required Key key,
required List<Widget> children, required List<Widget> children,
required this.document, required this.document,

@ -596,7 +596,7 @@ class RenderEditableTextBlock extends RenderEditableContainerBox
} }
class _EditableBlock extends MultiChildRenderObjectWidget { class _EditableBlock extends MultiChildRenderObjectWidget {
_EditableBlock( const _EditableBlock(
{required this.block, {required this.block,
required this.textDirection, required this.textDirection,
required this.padding, required this.padding,

@ -6,7 +6,7 @@ homepage: https://bulletjournal.us/home/index.html
repository: https://github.com/singerdmx/flutter-quill repository: https://github.com/singerdmx/flutter-quill
environment: environment:
sdk: ">=2.17.0 <3.0.0" sdk: ">=2.17.0 <4.0.0"
flutter: ">=3.0.0" flutter: ">=3.0.0"
dependencies: dependencies:

Loading…
Cancel
Save