diff --git a/packages/flutter/lib/src/widgets/visibility.dart b/packages/flutter/lib/src/widgets/visibility.dart index 48d333bd1c..62ab534737 100644 --- a/packages/flutter/lib/src/widgets/visibility.dart +++ b/packages/flutter/lib/src/widgets/visibility.dart @@ -161,7 +161,7 @@ class Visibility extends StatelessWidget { /// Whether to maintain space for where the widget would have been. /// - /// To set this, [maintainAnimation] must also be set. + /// To set this, [maintainAnimation] and [maintainState] must also be set. /// /// Maintaining the size when the widget is not [visible] is not notably more /// expensive than just keeping animations running without maintaining the