Results for “ScaffoldMessenger”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- SnackBars managed by the ScaffoldMessenger2.0.0breaking
SnackBar` API within the `Scaffold` is now handled by the `ScaffoldMessenger`, one of which is available by default within the context of a `MaterialApp`. The previous approach
- SnackBar with action no longer auto-dismisses3.38.0breaking
SnackBar with an action, set `persist` to `false`. Code before migration: ```dart ScaffoldMessenger.of(context).showSnackBar( SnackBar( content: const Text('This is a snackbar with an action.'), action: SnackBarAction
- Eliminating nullOk Parameters2.0.0breaking
This migration guide describes conversion of code that uses the `nullOk` parameter
- Deprecated API removed after v2.103.0.0removed
ElevatedButton OutlinedButton ButtonTheme TextButtonTheme ElevatedButtonTheme OutlinedButtonTheme ButtonStyle ButtonStyleButton ElevatedButtonThemeData OutlinedButtonThemeData TextButtonThemeData Scaffold SnackBar ScaffoldMessenger MaterialApp RectangularSliderTrackShape.disabledThumbGapWidth RectangularSliderTrackShape ThemeData TextSelectionThemeData RenderEditable.onSelectionChanged TextSelectionDelegate.textEditingValue TextSelectionDelegate.userUpdateTextEditingValue TextInputFormatter