Fix analysis issues

pull/1471/head
Ahmed Hnewa 2 years ago
parent a89949a9d5
commit 38a8661f42
No known key found for this signature in database
GPG Key ID: C488CC70BBCEF0D1
  1. 4
      lib/src/models/config/editor/configurations.dart
  2. 3
      lib/src/utils/extensions/build_context.dart

@ -344,7 +344,7 @@ class QuillEditorConfigurations extends Equatable {
GlobalKey<EditorState>? editorKey, GlobalKey<EditorState>? editorKey,
TextSelectionThemeData? textSelectionThemeData, TextSelectionThemeData? textSelectionThemeData,
bool? requestKeyboardFocusOnCheckListChanged, bool? requestKeyboardFocusOnCheckListChanged,
QuillEditorBlockOptions? blocksOptions, QuillEditorBlockOptions? blockOptions,
}) { }) {
return QuillEditorConfigurations( return QuillEditorConfigurations(
placeholder: placeholder ?? this.placeholder, placeholder: placeholder ?? this.placeholder,
@ -396,7 +396,7 @@ class QuillEditorConfigurations extends Equatable {
requestKeyboardFocusOnCheckListChanged: requestKeyboardFocusOnCheckListChanged:
requestKeyboardFocusOnCheckListChanged ?? requestKeyboardFocusOnCheckListChanged ??
this.requestKeyboardFocusOnCheckListChanged, this.requestKeyboardFocusOnCheckListChanged,
blockOptions: blocksOptions ?? this.blockOptions, blockOptions: blockOptions ?? this.blockOptions,
); );
} }
} }

@ -2,7 +2,8 @@ import 'package:flutter/widgets.dart' show BuildContext;
import '../../../flutter_quill.dart'; import '../../../flutter_quill.dart';
// TODO: The documentation of this file needs to be updated as it's quite oudated. // TODO: The documentation of this file needs to
//be updated as it's quite oudated.
/// Public shared extension /// Public shared extension
extension BuildContextExt on BuildContext { extension BuildContextExt on BuildContext {

Loading…
Cancel
Save