From 40e7e9ad8e9dbad57104034cabbf711519e078c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=88=B1=E6=8A=98=E8=85=BE=E7=9A=84=E5=B0=8F=E7=AB=B9?= =?UTF-8?q?=E5=90=8C=E5=AD=A6?= Date: Sat, 28 May 2022 06:18:07 +0800 Subject: [PATCH] fix: assert does not match annotation (#104606) --- packages/flutter/lib/src/material/navigation_rail.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/material/navigation_rail.dart b/packages/flutter/lib/src/material/navigation_rail.dart index 02074fb1abc0..b83965b414f2 100644 --- a/packages/flutter/lib/src/material/navigation_rail.dart +++ b/packages/flutter/lib/src/material/navigation_rail.dart @@ -65,7 +65,7 @@ import 'theme.dart'; class NavigationRail extends StatefulWidget { /// Creates a Material Design navigation rail. /// - /// The value of [destinations] must be a list of one or more + /// The value of [destinations] must be a list of two or more /// [NavigationRailDestination] values. /// /// If [elevation] is specified, it must be non-negative.