Results for “Switch”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- Switches Windows to OpenGLESSDF3.47.0platform
Switches Windows to OpenGLESSDF (Windows, by @gaaclarke
- - Fixes a false error when using in switch case expressions when the switch refers to a private getter.3.10.1bugfix
Fixes a false error when using in switch case expressions when the switch refers to a private getter
- - Improve analysis of enums and switch.3.0.3bugfix
Improve analysis of enums and switch
- ThemeData's toggleableActiveColor property has been deprecated3.7.0deprecated
Material widgets `Switch`, `SwitchListTile`, `Checkbox`, `CheckboxListTile`, `Radio`, `RadioListTile` now use `ColorScheme.secondary` color for their toggleable widget. `ThemeData.toggleableActiveColor` is deprecated and will eventually be removed. The widgets using
- Adding 'linux' and 'windows' to TargetPlatform enum1.17.0breaking
values were added to the `TargetPlatform` enum that could require additional cases in switch statements that switch on a `TargetPlatform` and don't include a `default
- - Task switching may freeze on some Android versions.1.20.3bugfix
Task switching may freeze on some Android versions
- - Build error when switching between dev/beta and stable branches.1.22.6bugfix
Build error when switching between dev/beta and stable branches
- - Apps crash when `FadeInImage` switches from cached to uncached images.3.3.5bugfix
Apps crash when `FadeInImage` switches from cached to uncached images
- - Fix iOS 17 keyboard freeze when switching languages3.16.1bugfix
keyboard freeze when switching languages
- - Fixes incorrect error using a void in a switch case expression.3.10.1bugfix
Fixes incorrect error using a void in a switch case expression
- - Obsolete warning and error messages are shown when switching between build modes in Xcode.3.35.3bugfix
Obsolete warning and error messages are shown when switching between build modes in Xcode
- - Fixes a dart2js crash when using a switch case expression on a record where the fields don't match the cases.3.10.2bugfix
Fixes a dart2js crash when using a switch case expression on a record where the fields don't match the cases
- When Android apps switch from any `SystemUiMode` to edge-to-edge, the system bars unexpectedly remain invisible.3.44.2bugfix
When Android apps switch from any `SystemUiMode` to edge-to-edge, the system bars unexpectedly remain invisible
- Reland licenses cpp switch3.38.0improvement
Reland licenses cpp switch (Other changes, by @gaaclarke
- Adds property passthrough for CheckboxListTile, SwitchListTile and RadioListTile3.41.0new-feature
Adds property passthrough for CheckboxListTile, SwitchListTile and RadioListTile (Material, by @Guldem). CheckboxListTile SwitchListTile RadioListTile
- Make sure that a SwitchListTile doesn't crash in 0x0 environment3.41.0bugfix
Make sure that a SwitchListTile doesn't crash in 0x0 environment (Material, by @ahmedsameha1). SwitchListTile
- Reland licenses cpp switch 33.38.0improvement
Reland licenses cpp switch 3 (Other changes, by @gaaclarke
- Replace deprecated `withOpacity` in `switch.1.dart` example3.41.0deprecated
Replace deprecated `withOpacity` in `switch.1.dart` example (Framework, by @AbdeMohlbi
- Remove deprecated `activeColor` in `switch.0.dart` example3.41.0removed
Remove deprecated `activeColor` in `switch.0.dart` example (Framework, by @AbdeMohlbi
- Add `--profile-startup` switch3.38.0new-feature
profile-startup` switch (iOS, by @derekxu16
- licenses_cpp: reland switch 43.38.0platform
licenses_cpp: reland switch 4 (Linux, by @gaaclarke
- Reland licenses cpp switch 23.38.0improvement
Reland licenses cpp switch 2 (Other changes, by @gaaclarke
- Adds windows project switch for enabling impeller3.47.0new-feature
Adds windows project switch for enabling impeller (Windows, by @gaaclarke
- Adds switch for sdf rendering plus golden tests3.44.0new-feature
Adds switch for sdf rendering plus golden tests (iOS, by @gaaclarke
- [Material] modernize Typography._withPlatform with Dart 3 switch expression3.44.0docs
Material] modernize Typography._withPlatform with Dart 3 switch expression (Material, by @Enderjua
- [Material] update hourFormat to use Dart 3 switch expression3.44.0improvement
Material] update hourFormat to use Dart 3 switch expression (Material, by @Enderjua
- licenses_cpp: Switched to lexically_relative for 2x speed boost.3.38.0improvement
licenses_cpp: Switched to lexically_relative for 2x speed boost. (Other changes, by @gaaclarke
- [ios][engine] Fix keyboard flicker when switching text fields3.44.0bugfix
engine] Fix keyboard flicker when switching text fields (Framework, by @koji
- [Material] modernize time picker components with Dart 3 switch expressions3.44.0improvement
Material] modernize time picker components with Dart 3 switch expressions (Material, by @Enderjua
- [Material] modernize legacy switch statements to expressions across multiple files3.44.0improvement
Material] modernize legacy switch statements to expressions across multiple files (Material, by @Enderjua
- 180162 fix radio list tile and switch list tile accept widget states controller3.44.0bugfix
radio list tile and switch list tile accept widget states controller (Material, by @AnishTiwari5077
- Added AppLifecycleState.hidden3.13.0breaking
lifecycle state the application is in when `WidgetsBindingObserver.didChangeAppLifecycleState` is called. If code has switch statements that handle all cases of the `AppLifecycleState` enum, a new case will
- Migrate ShortcutActivator and ShortcutManager to KeyEvent system3.16.0breaking
subclasses. Pass a `KeyEvent` instead of a `RawKeyEvent` to `ShortcutActivator.accepts`. This may mean switching where you get your key events from. Depending on where you get them
- Flutter GPU could not be enabled in release builds on Linux and Windows, since those embedders had no project-level opt-in and release...3.47.1bugfix
those embedders had no project-level opt-in and release builds ignore engine switches from the environment
- Restrict Android engine flags in release modeunreleasedbreaking
Previously, the Flutter Android embedding accepted engine configuration flags (such as `--dart
- .flutter-plugins-dependencies replaces .flutter-plugins3.32.0breaking
The `flutter` tool will no longer output the `.flutter-plugins` metadata file
- Page transitions replaced by ZoomPageTransitionsBuilder3.0.0breaking
deprecated on Android, as per Flutter's deprecation policy. If you want to switch back to the previous page transition builder (`FadeUpwardsPageTransitionsBuilder`), you should define builders explicitly
- Default Scrollbars on Desktop2.2.0breaking
Scrollbar` when not on desktop platforms. // Or, see other migrations for changing `ScrollBehavior`. switch (currentPlatform) { case TargetPlatform.linux: case TargetPlatform.ma
- Migrating to Material 33.16.0breaking
The Material library has been updated to match the Material 3 Design
- New Buttons and Button Themes1.20.0breaking
Restoring the original button visuals In many cases it's possible to just switch from the old button class to the new one. That's assuming that
- Color wide gamut support3.27.0breaking
The API for the `Color` class in `dart:ui` is changing to