Skip to content

Commit 85d9ce3

Browse files
[flutter_markdown] Remove ignore: avoid_init_to_null since the package uses Dart 3 (#4852)
As the removed comment says, since the package uses Dart 3 we can remove the `ignore: avoid_init_to_null`. Fixes flutter/flutter#134058
1 parent 22d4754 commit 85d9ce3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/flutter_markdown/lib/src/widget.dart

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,6 @@ class MarkdownBody extends MarkdownWidget {
413413
required super.data,
414414
super.selectable,
415415
super.styleSheet,
416-
// TODO(stuartmorgan): Remove this once 3.0 is no longer part of the
417-
// legacy analysis matrix; it's a false positive there.
418-
// ignore: avoid_init_to_null
419416
super.styleSheetTheme = null,
420417
super.syntaxHighlighter,
421418
super.onTapLink,
@@ -470,9 +467,6 @@ class Markdown extends MarkdownWidget {
470467
required super.data,
471468
super.selectable,
472469
super.styleSheet,
473-
// TODO(stuartmorgan): Remove this once 3.0 is no longer part of the
474-
// legacy analysis matrix; it's a false positive there.
475-
// ignore: avoid_init_to_null
476470
super.styleSheetTheme = null,
477471
super.syntaxHighlighter,
478472
super.onTapLink,

0 commit comments

Comments
 (0)