Unverified Commit d10a4a17 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Mark NavigationBar as non-const to match reality (#108562)

parent 8e77cb43
......@@ -54,7 +54,9 @@ class NavigationBar extends StatelessWidget {
///
/// The value of [destinations] must be a list of two or more
/// [NavigationDestination] values.
const NavigationBar({
// TODO(goderbauer): This class cannot be const constructed, https://github.com/dart-lang/linter/issues/3366.
// ignore: prefer_const_constructors_in_immutables
NavigationBar({
super.key,
this.animationDuration,
this.selectedIndex = 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment