From 85d9ce34347a15a3ec1bf3d24226a8ea337f04f3 Mon Sep 17 00:00:00 2001
From: Nils Reichardt <me@nils.re>
Date: Thu, 7 Sep 2023 20:55:54 +0200
Subject: [PATCH] [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 https://github.com/flutter/flutter/issues/134058
---
 packages/flutter_markdown/lib/src/widget.dart | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/packages/flutter_markdown/lib/src/widget.dart b/packages/flutter_markdown/lib/src/widget.dart
index 65dc983d10..3feee6b70f 100644
--- a/packages/flutter_markdown/lib/src/widget.dart
+++ b/packages/flutter_markdown/lib/src/widget.dart
@@ -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,
@@ -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,