Results for “SnackBar”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- SnackBar with action no longer auto-dismisses3.38.0breaking
( content: const Text('This is a snackbar with an action.'), action: SnackBarAction( label: 'Action', onPressed: () { // Perform some action }, ), ), ); ``` Code after migration: ```dart highlightLines=4 ScaffoldMessenger.of(context
- 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
- - Flutter may show multiple snackbars when Scaffold is nested2.0.2bugfix
Flutter may show multiple snackbars when Scaffold is nested
- Add SnackBarTheme3.41.0new-feature
SnackBarTheme (Material, by @bleroux). SnackBarTheme
- Make sure that a SnackBarAction doesn't crash in 0x0 environment3.41.0bugfix
Make sure that a SnackBarAction doesn't crash in 0x0 environment (Material, by @ahmedsameha1). SnackBarAction
- Deprecated API removed after v2.103.0.0removed
TextButton 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