Results for “TextStyle”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- Updated default text styles for menus3.16.0breaking
MenuEntry.about), ), ``` ```dart menuButtonTheme: MenuButtonThemeData( style: MenuItemButton.styleFrom( /// ... ), ), ``` Code after migration: ```dart MenuItemButton( style: MenuItemButton.styleFrom( textStyle: Theme.of(context).textTheme.bodyLarge, ), child: Text(MenuEntry.about.label), onPressed: () => _activate(MenuEntry.about), ), ``` ```dart menuBut
- ThemeData's accent properties have been deprecated2.5.0deprecated
The ThemeData accentColor, accentColorBrightness, accentIconTheme and accentTextTheme properties have been deprecated. The
- Added BuildContext parameter to TextEditingController.buildTextSpan2.0.0breaking
buildTextSpan` override. Code before migration: ```dart class MyTextEditingController { @override TextSpan buildTextSpan({TextStyle? style, required bool withComposing}) { /* ... */ } } ``` Example error message before migration: ```plaintext 'MyTextEditingController.buildTextSpan' ('TextSpan Function({TextStyle
- Deprecated API removed after v3.73.10.0removed
In accordance with Flutter's Deprecation Policy, deprecated APIs that reached end
- Deprecate textScaleFactor in favor of TextScaler3.16.0deprecated
In preparation for adopting the Android 14 nonlinear font scaling feature, all
- FontWeight also controls the weight attribute of variable fonts3.41.0breaking
weight of these fonts. Setting the `fontWeight` property of objects such as `TextStyle` will now also set the value of the `wght` variation axis of fonts that
- Deprecated API removed after v2.22.5.0removed
stable release have been removed. InputDecoration InputDecorationTheme FloatingLabelBehavior.auto FloatingLabelBehavior.never FloatingLabelBehavior.always FloatingLabelBehavior TextTheme TextStyle Typography
- Deprecated API removed after v3.193.22.0removed
reached end of life after the 3.19 stable release have been removed. TextTheme TextStyle ThemeData Color ThemeData.colorScheme BottomAppBarTheme ColorScheme CupertinoContextMenu.previewBuilder CupertinoContextMenu CupertinoContextMenu.animationOpensAt Scrollbar.showTrackOnHover Scrollbar ScrollbarThemeData.showTrackOnHover ScrollbarThemeData.trackVisibility ScrollbarThemeData
- New Buttons and Button Themes1.20.0breaking
A new set of basic material button widgets and themes have been