Skip to content

Commit

Permalink
[flutter_markdown] Remove ignore: avoid_init_to_null since the pack…
Browse files Browse the repository at this point in the history
…age uses Dart 3 (flutter#4852)

As the removed comment says, since the package uses Dart 3 we can remove the `ignore: avoid_init_to_null`. 

Fixes flutter#134058
  • Loading branch information
nilsreichardt authored Sep 7, 2023
1 parent 22d4754 commit 85d9ce3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/flutter_markdown/lib/src/widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,6 @@ class MarkdownBody extends MarkdownWidget {
required super.data,
super.selectable,
super.styleSheet,
// TODO(stuartmorgan): Remove this once 3.0 is no longer part of the
// legacy analysis matrix; it's a false positive there.
// ignore: avoid_init_to_null
super.styleSheetTheme = null,
super.syntaxHighlighter,
super.onTapLink,
Expand Down Expand Up @@ -470,9 +467,6 @@ class Markdown extends MarkdownWidget {
required super.data,
super.selectable,
super.styleSheet,
// TODO(stuartmorgan): Remove this once 3.0 is no longer part of the
// legacy analysis matrix; it's a false positive there.
// ignore: avoid_init_to_null
super.styleSheetTheme = null,
super.syntaxHighlighter,
super.onTapLink,
Expand Down

0 comments on commit 85d9ce3

Please sign in to comment.