chore: remove old analysis ignore comments

feat/rich-text-paste-web
Ellet 9 months ago
parent 2455ad0102
commit ef856a7b8f
  1. 4
      test/bug_fix_test.dart
  2. 11
      test/widgets/editor_test.dart

@ -62,10 +62,8 @@ void main() {
setUp(() {
controller = QuillController.basic();
editor = QuillEditor.basic(
// ignore: avoid_redundant_argument_values
configurations: QuillEditorConfigurations(
controller: controller,
// ignore: avoid_redundant_argument_values
),
);
});
@ -150,10 +148,8 @@ void main() {
home: QuillEditor(
focusNode: FocusNode(),
scrollController: ScrollController(),
// ignore: avoid_redundant_argument_values
configurations: QuillEditorConfigurations(
controller: controller,
// ignore: avoid_redundant_argument_values
autoFocus: true,
expands: true,
),

@ -24,10 +24,8 @@ void main() {
await tester.pumpWidget(
MaterialApp(
home: QuillEditor.basic(
// ignore: avoid_redundant_argument_values
configurations: QuillEditorConfigurations(
controller: controller,
// ignore: avoid_redundant_argument_values
),
),
),
@ -45,16 +43,15 @@ void main() {
focusNode: FocusNode(),
scrollController: ScrollController(),
configurations: QuillEditorConfigurations(
controller: controller,
// ignore: avoid_redundant_argument_values
autoFocus: true,
expands: true,
contentInsertionConfiguration: ContentInsertionConfiguration(
onContentInserted: (content) {
latestUri = content.uri;
},
allowedMimeTypes: <String>['image/gif'],
),
autoFocus: true,
expands: true,
controller: controller,
),
),
),
@ -116,10 +113,8 @@ void main() {
home: QuillEditor(
focusNode: FocusNode(),
scrollController: ScrollController(),
// ignore: avoid_redundant_argument_values
configurations: QuillEditorConfigurations(
controller: controller,
// ignore: avoid_redundant_argument_values
autoFocus: true,
expands: true,
contextMenuBuilder: customBuilder,

Loading…
Cancel
Save