Results for “String”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- Moved ReorderableListView's localized strings3.13.0breaking
ReorderableListView`'s localized strings were moved from material localizations to widgets localizations. These strings were deprecated in material localizations. The `MaterialLocalizations` strings for `reorderItemToStart`, `reorderItemToEnd
- Remove another `String.valueOf`3.47.0platform
Remove another `String.valueOf` (Android, by @AbdeMohlbi). String.valueOf
- Remove unnecessary `String.valueOf` in `SettingsChannel.java`3.41.0platform
Remove unnecessary `String.valueOf` in `SettingsChannel.java` (Android, by @AbdeMohlbi). String.valueOf SettingsChannel.java
- Remove unnecessary `String.valueOf` in `TextInputChannel.java`3.41.0platform
Remove unnecessary `String.valueOf` in `TextInputChannel.java` (Android, by @AbdeMohlbi). String.valueOf TextInputChannel.java
- Remove unnecessary `String.valueOf` in `ListenableEditingState.java`3.41.0platform
Remove unnecessary `String.valueOf` in `ListenableEditingState.java` (Android, by @AbdeMohlbi). String.valueOf ListenableEditingState.java
- Remove unnecessary `String.valueOf` in `FlutterJNI.java`3.44.0platform
Remove unnecessary `String.valueOf` in `FlutterJNI.java` (Android, by @AbdeMohlbi). String.valueOf FlutterJNI.java
- Remove unnecessary `String.valueOf` in `KeyboardManager.java`3.38.0platform
Remove unnecessary `String.valueOf` in `KeyboardManager.java` (Android, by @AbdeMohlbi). String.valueOf KeyboardManager.java
- Clean up avoid_type_to_string suppressions3.47.0tooling
Clean up avoid_type_to_string suppressions (Tooling, by @mvincentong
- ignore avoid_type_to_string lint rule3.47.0improvement
ignore avoid_type_to_string lint rule (Framework, by @srawlins
- Add `STRING_CATALOG_GENERATE_SYMBOLS = YES;`3.47.0tooling
STRING_CATALOG_GENERATE_SYMBOLS = YES;` (Tooling, by @AbdeMohlbi
- $FLUTTER_ROOT/version replaced by $FLUTTER_ROOT/bin/cache/flutter.version.json3.35.0breaking
api.flutter.dev` generation script: ```dart title="post_process_docs.dart" final File versionFile = File('version'); final String version = versionFile.readAsStringSync(); ``` Was updated in [172601][PR 172601] to: ```dart final File versionFile = File
- Pass XcodeBasedProject instead of String to functions in XcodeProjectInterpreter3.47.0platform
Pass XcodeBasedProject instead of String to functions in XcodeProjectInterpreter (iOS, by @vashworth). XcodeBasedProject XcodeProjectInterpreter
- Redesigned the Radio widget3.35.0breaking
Introduced the `RadioGroup` widget to centralize `groupValue` management and the `onChanged` callback
- ignore avoid_type_to_string lint rule in flutter_tools3.47.0tooling
ignore avoid_type_to_string lint rule in flutter_tools (Tooling, by @srawlins
- [web_ui] Fix avoid_type_to_string lint violation3.44.0bugfix
avoid_type_to_string lint violation (Web, by @srawlins
- Impeller: Convert GLProc name field and GLErrorToString to std::string_view3.38.0improvement
Impeller: Convert GLProc name field and GLErrorToString to std::string_view (Other changes, by @DEVSOG12
- [ Device Lab ] Fix wakefulness check to only match log entries with string values3.38.0bugfix
Device Lab ] Fix wakefulness check to only match log entries with string values (Other changes, by @bkonyi
- [A11y] Allow percentage strings like "50%" as `SemanticsValue` for `ProgressIndicator`3.44.0new-feature
A11y] Allow percentage strings like "50%" as `SemanticsValue` for `ProgressIndicator` (Material, by @hannah-hyj). SemanticsValue ProgressIndicator
- [web] Match the behavior of other platforms in Web Locale.toString if the country code is an empty string3.41.0platform
other platforms in Web Locale.toString if the country code is an empty string (Web, by @jason-simmons
- Ensure that the engine converts std::filesystem::path objects to UTF-8 strings on Windows3.41.0platform
Ensure that the engine converts std::filesystem::path objects to UTF-8 strings on Windows (Windows, by @jason-simmons
- Ensure that directory names are typed as strings in the CIPD package YAML file generated by merge_and_upload_debug_symbols.py3.47.0improvement
Ensure that directory names are typed as strings in the CIPD package YAML file generated by merge_and_upload_debug_symbols.py (Other changes, by @jason-simmons
- Require one data variant for ClipboardData constructor3.10.0breaking
provides `null` to the `text` argument must be migrated to provide an empty string `''`. The `ClipboardData constructor`'s `text` argument is no longer nullable. In preparation
- Deprecated RouteInformation.location3.13.0deprecated
dart final RouteInformation myRoute = RouteInformation(uri: Uri.parse('/myroute')); ``` Code before migration: ```dart final String myPath = myRoute.location; ``` Code after migration: ```dart final String myPath = myRoute.uri.path; ``` Code before
- Removal of describeEnum3.47.0removed
which was introduced in `Dart 2.14`. Historically, Flutter used `describeEnum` to return a `String` description of an enum value. This became redundant when the `name` getter
- Migrate useDeleteButtonTooltip to deleteButtonTooltipMessage of Chips3.0.0breaking
chip widgets. Subsequently, a change was made such that providing an empty string to this property disables the tooltip. The `useDeleteButtonTooltip` of `Chip`, `InputChip`, and `RawChip` widgets
- Rebuild optimization for OverlayEntries and Routes1.17.0breaking
explicit `setState` call. Code before migration: ```dart class FooState extends State { String buttonLabel = 'Click Me'; @override Widget build(BuildContext context) { return ElevatedButton( onPressed: () async { // Illegal state modification
- IconData class marked as final3.44.0breaking
this.codePoint) : fontFamily = 'MaterialIcons', fontPackage = null, matchTextDirection = false; @override final int codePoint; @override final String? fontFamily; @override final String? fontPackage; @override final bool matchTextDirection; } Widget build(BuildContext
- Deprecate describeEnum and update EnumProperty to be type strict3.16.0deprecated
analyzed using an `EnumProperty`. If you previously used `describeEnum(Enum.field)` to access the string value from an enum, you can now call `Enum.field.name`. If you previously used
- Stop generating AssetManifest.json3.19.0breaking
readAssetList() async { final assetManifestContent = await rootBundle.loadString('AssetManifest.json'); final decodedAssetManifest = json.decode(assetManifestContent) as Map<String, Object?>; final assets = decodedAssetManifest.keys.toList().cast (); } ``` After: ```dart import 'package:flutter/services.dart'; void readAssetList() async
- The Route and Navigator refactoring1.17.0breaking
The `Route` class no longer manages its overlay entries in overlay, and
- Stricter Android Intent verification for app entrypointsunreleasedbreaking
To prevent `Intent`-based vulnerability exploits, the Flutter Android embedder (`FlutterActivity` and
- Migrate to standalone material_ui and cupertino_ui packagesunreleasedbreaking
The Material and Cupertino design libraries are now available as standalone packages