Results for “Button”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- Deprecate ButtonBar in favor of OverflowBar3.24.0deprecated
ButtonBar` widget was deprecated in favor of the more efficient `OverflowBar` widget. As a result, `ThemeData.buttonBarTheme` and `ButtonBarTheme` were also deprecated. - Replace `ButtonBar` widget with `OverflowBar` widget
- New Buttons and Button Themes1.20.0breaking
following style makes a `TextButton` look like a default `FlatButton`: ```dart final ButtonStyle flatButtonStyle = TextButton.styleFrom( foregroundColor: Colors.black87, minimumSize: Size(88, 36), padding: EdgeInsets.symmetric(horizontal: 16), shape: const RoundedRectangleBorder
- Replaced parameters for customizing context menus with a generic widget builder3.7.0breaking
reusing the built-in context menu widgets. Previously, it was possible to disable buttons from the context menus using `TextSelectionControls`, but any customization beyond that required copying
- Material Chip button semantics2.0.0breaking
Flutter now applies the semantic label of `button` to all interactive Material Chips for accessibility purposes. The outermost `Semantics` widget that wraps all Chip classes to describe
- - Fixes buttons with icons that ignore foregroundColor.3.29.1bugfix
Fixes buttons with icons that ignore foregroundColor
- Migrate useDeleteButtonTooltip to deleteButtonTooltipMessage of Chips3.0.0breaking
Using `useDeleteButtonTooltip` of any chip that has a delete button gives a deprecation warning, or no longer exists when referenced. This includes the `Chip`, `InputChip`, and `RawChip
- - Fixes an issue that prevents (web) screen readers from pressing buttons through keyboard shortcuts.3.35.2bugfix
Fixes an issue that prevents (web) screen readers from pressing buttons through keyboard shortcuts
- Fix typo in ButtonBar documentation3.41.0docs
typo in ButtonBar documentation (Material, by @leuchte). ButtonBar
- Rebuild optimization for OverlayEntries and Routes1.17.0breaking
setState`. In the example below, assigning the return value of `Navigator.pushNamed` to `buttonLabel` is implicitly modifying the state and it should be wrapped in an explicit `setState` call
- Fix VoiceOver does not announce state of ButtonSegment3.41.0bugfix
VoiceOver does not announce state of ButtonSegment (Material, by @huycozy). VoiceOver ButtonSegment
- Add support for stylus buttons3.47.0new-feature
support for stylus buttons (Windows, by @CodeDoctorDE
- Handle#6537 end drawer button3.41.0improvement
Handle#6537 end drawer button (Material, by @ahmedsameha1
- Replace dropdown button with dropdown menu3.41.0improvement
Replace dropdown button with dropdown menu (Material, by @ahmedsameha1
- Reland "Add support for stylus buttons"3.47.0new-feature
Reland "Add support for stylus buttons" (Windows, by @CodeDoctorDE
- Adds semantics for disabled buttons in date picker3.38.0new-feature
Adds semantics for disabled buttons in date picker (Material, by @chunhtai
- Fix platform specific semantics for time picker buttons3.38.0bugfix
platform specific semantics for time picker buttons (Material, by @Piinks
- Use local semantics tester in Material button tests3.47.0improvement
local semantics tester in Material button tests (Material, by @MarlonJD
- Android treats link without URL semantics node as button3.41.0platform
Android treats link without URL semantics node as button (Android, by @chunhtai
- fix(Semantics): Ensure semantics properties take priority over button's3.38.0bugfix
Semantics): Ensure semantics properties take priority over button's (Framework, by @pedromassango
- feat: Added FocusNode prop for DropdownMenu Trailing Icon Button3.38.0new-feature
feat: Added FocusNode prop for DropdownMenu Trailing Icon Button (Material, by @AlsoShantanuBorkar). FocusNode DropdownMenu
- [a11y][VPAT] Update toggle button color in a11y assessment app3.47.0improvement
a11y][VPAT] Update toggle button color in a11y assessment app (Other changes, by @hannah
- Deprecated API removed after v1.222.0.0removed
CupertinoPopupSurface CupertinoNavigationBar.actionsForegroundColor CupertinoSliverNavigationBar.actionsForegroundColor CupertinoTheme CupertinoNavigationBar CupertinoSliverNavigationBar CupertinoThemeData CupertinoTextThemeData.brightness CupertinoTextThemeData PointerEnterEvent PointerExitEvent Scaffold.resizeToAvoidBottomPadding Scaffold ButtonTheme.bar ButtonTheme ButtonBarTheme ButtonBar TextButtonTheme ElevatedButtonTheme OutlinedButtonTheme TextButton ElevatedButton OutlinedButton InlineSpan TextSpan PlaceholderSpan InlineSpan.text TextSpan.text
- [Material] Change default mouse cursor of buttons to basic arrow instead of click (except on web)3.41.0improvement
Material] Change default mouse cursor of buttons to basic arrow instead of click (except on web) (Material, by @camsim99
- Deprecated API removed after v2.103.0.0removed
VelocityTracker PointerDeviceKind VelocityTracker.kind PointerDeviceKind.touch DayPicker MonthPicker CalendarDatePicker FlatButton RaisedButton OutlineButton TextButton ElevatedButton OutlinedButton ButtonTheme TextButtonTheme ElevatedButtonTheme OutlinedButtonTheme ButtonStyle ButtonStyleButton ElevatedButtonThemeData OutlinedButtonThemeData TextButtonThemeData Scaffold SnackBar ScaffoldMessenger MaterialApp RectangularSliderTrackShape.disabledThumbGapWidth RectangularSliderTrackShape
- Scrollable AlertDialog1.17.0breaking
no backwards-compatible way to make `AlertDialog` scrollable by default. Instead, the
- SnackBar with action no longer auto-dismisses3.38.0breaking
default to a non-dismissible state until the user interacts with the action button. This change aligns with the Material 3 design specification for the `SnackBar` component
- Deprecated API removed after v3.163.19.0removed
life after the 3.16 stable release have been removed. TextButton ElevatedButton OutlinedButton ButtonStyle TextButton.styleFrom ElevatedButton.styleFrom OutlinedButton.styleFrom ThemeData NavigatorState FocusScopeNode Navigator FocusScope WidgetsApp FocusNode FocusNode.enclosingScope PlatformMenuBar TextTheme WidgetInspectorService WidgetInspectorServiceExtensions
- Clip behavior2.0.0breaking
Flutter now defaults to _not_ clip except for a few specialized widgets
- Redesigned the Radio widget3.35.0breaking
ARIA Practices Guide) requirements for keyboard navigation and semantic properties in radio button groups, Flutter needed a dedicated radio group concept. Introducing a wrapper widget, `RadioGroup`, provides
- Migrating to Material 33.16.0breaking
The Material library has been updated to match the Material 3 Design