Skip to content

Commit 5ca2d2c

Browse files
chore: migrate to material_ui and cupertino_ui (#6931)
* Raise the macOS deployment target to 12.0 for Xcode 27 Xcode 27 fails builds whose macOS deployment target is below 12.0. The template and client pinned 11.0, and Flutter 3.44.8 generates the FlutterMacOS pod at 10.15. Raise the Podfile platform and the Xcode project to 12.0, and let pods below 12.0 inherit the platform, as Flutter 3.47's podhelper does. * Raise the iOS deployment target to 15.0 for Xcode 27 Xcode 27 fails builds whose iOS deployment target is below 15.0. The template and client pinned 13.0, and Flutter 3.44.8 generates the Flutter pod at 13.0. Raise the Podfile platform and the Xcode project to 15.0, let pods below 15.0 inherit the platform, and drop the stale MinimumOSVersion that Flutter strips from AppFrameworkInfo.plist anyway. * Add changelog entry for the Xcode 27 deployment targets * Document the macOS 12 and iOS 15 minimums for built apps Raising the deployment targets is a breaking change under the compatibility policy, so add a 1.0.4 breaking-change guide and register it in the index, the sidebar and the release notes. The release notes also gain the missing 1.0.1-1.0.3 entries. The macOS and iOS publish pages now state the minimum OS version, and the changelog entry links the guide. * Ship the macOS 12 / iOS 15 minimums in Flet 1.1.0 Raising the minimum macOS and iOS versions drops support for macOS 11 and iOS 13-14, so it ships in the 1.1.0 minor release instead of the 1.0.4 patch, together with the Flutter 3.47 bump, whose engine requires the same minimums. Move the changelog entry to 1.1.0 and the breaking-change guide from v1-0-4 to v1-1-0, and update the breaking-changes index, the sidebar and the release notes. Flet 1.0.4 becomes the last release for macOS 11 and iOS 13-14. * Exclude build and platform directories from Dart analysis Flutter 3.47 adds a migration that runs on every `flutter pub get`, `flutter test` and build. It inserts an `analyzer.exclude` block into the `analysis_options.yaml` of any package that depends on Flutter. On CI, `flutter test` in packages/flet would then leave a modified checked-in file, and `dart pub publish --dry-run` fails with exit code 65. Every release job depends on that step. Add the same block the migration writes, placed after `include:` the way Flutter's own app template does it: `build/**` for packages/flet, flet_integration_test and the extension packages, plus the six platform directories for the client and the `flet build` template. The migration only checks that each pattern is present, so it leaves these files alone afterwards. The excludes are valid on older SDKs too. * Bump Flutter to 3.47.5 Flutter 3.47 replaces several exact SDK package pins with caret ranges. The client lock picks up the versions they now require: intl 0.20.3, matcher 0.12.20, meta 1.19.0, test_api 0.7.12 and vector_math 2.4.3. * Drop the Podfile deployment-target clamps that Flutter now applies On Flutter 3.47, flutter_additional_ios_build_settings and flutter_additional_macos_build_settings delete IPHONEOS_DEPLOYMENT_TARGET below 15 and MACOSX_DEPLOYMENT_TARGET below 12 from every pod, whether or not it depends on Flutter, so each pod inherits the Pods project value. The post_install clamps added for Xcode 27 on 3.44.8 now repeat that work and can go. Verified on Xcode 27 with clean client builds (macos --debug, ios --simulator --debug): every Pods target ends up at 12.0 / 15.0 and both builds succeed without FLUTTER_XCODE_* overrides. client/ios/Podfile.lock picks up the new Podfile checksum and the Flutter pod checksum, which changes because 3.47's generated Flutter podspec declares iOS 15.0. * Keep desktop apps on the Skia renderer Flutter 3.47 makes Impeller the default renderer on macOS, Windows and Linux. The Flet desktop client already opts out on macOS (FLTEnableImpeller=false, after blank windows on Intel Macs in #3557), but apps built with `flet build` and the Windows and Linux clients would switch to Impeller with the SDK bump. Upstream still has open Impeller issues on these platforms (flutter#185394 crash on foreground on macOS, flutter#191538 flicker on Intel Macs, flutter#191353 slower on Windows, flutter#192915 flicker in Linux VMs), and Impeller hasn't been tested with Flet on real Windows/Linux hardware. Keep every desktop lane on Skia, as on Flutter 3.44: - Windows client and template runner: set_impeller_switch(Disabled). - Linux client and template runner: fl_dart_project_set_enable_impeller. - macOS apps: flet-cli adds FLTEnableImpeller=false to the Info.plist defaults, so `[tool.flet.macos.info]` or `--info-plist FLTEnableImpeller=true` still switches a built app to Impeller. FLUTTER_ENGINE_SWITCHES=--enable-impeller still enables Impeller in debug builds. Release builds ignore that variable. * Update Semantics and accessibility docs for Flutter 3.47 On iOS, Flutter 3.47 sets VoiceOver's header trait from the heading level, not from the header flag (flutter#186916). Android already did this, so both mobile screen readers now announce a heading only when `heading_level` is set. Describe that on `Semantics.heading_level` and `Semantics.header`. Flutter 3.47 also reports `high_contrast` on Android API 34+, not only on iOS (flutter#182263). * Use super parameters in CustomFilteringTextInputFormatter The Dart 3.13 linter reports use_super_parameters for this constructor. It was the only new analyzer diagnostic in packages/flet on Flutter 3.47.5. The behavior is unchanged: replacementString keeps the super constructor's '' default. * Move Android builds to Gradle 9.3.1, AGP 8.13.2 and Kotlin 2.3.21 Flutter 3.47.5 raised its Android dependency floors: Gradle 8.14, AGP 8.11.1 and KGP 2.2.20, the versions both Android lanes pin, are now the lowest it accepts, and each build printed three "support will soon be dropped" warnings. The next Flutter release will likely reject them. Move the client and the `flet build` template to the newest combination that is supported end to end without AGP 9: - Gradle wrapper 9.3.1, Flutter's template default. - KGP 2.3.21. KGP 2.2.x is documented only up to Gradle 8.14, and Kotlin 2.4 class files need R8 9.1.29 or later. - AGP 8.13.2, the last 8.x release. Its bundled R8 8.13.19 is the minimum Google lists for Kotlin 2.3. With AGP 8.11.1 (R8 8.11.18) and Kotlin 2.4, R8 couldn't parse Kotlin metadata and printed a warning per class whenever kotlin.Metadata was kept. Flutter 3.47.5's AGP/Gradle and AGP/KGP compatibility checks accept this combination. AGP 9 isn't usable yet: file_picker 11 and device_info_plus 12.4 fail to build with either android.builtInKotlin setting. Only the AGP warning remains. Gradle 9.1+ also runs on JDK 25, which crashed Gradle 8.14 with "IllegalArgumentException: 25.0.2". Verified: client `flutter build apk --debug` and `--release` (R8 8.13.19, no Kotlin metadata warnings), and `./gradlew assembleDebug` on JDK 25. * Add changelog entries for the Flutter 3.47.5 bump * Update the macOS 12 / iOS 15 guide for Flutter 3.47 On Flutter 3.47, a custom build template no longer needs the Podfile post_install step: Flutter's migrators raise the deployment targets of the generated project during the build, and podhelper.rb drops lower targets from every pod. Custom templates keep building on Xcode 27, and the Podfile `platform` and project.pbxproj changes only remove that migration step. Staying on macOS 11 or iOS 13-14 needs Flet 1.0.4 or earlier, because the Flutter 3.47 engine itself requires macOS 12 and iOS 15. * Fix the FilePicker docs heading structure The "Picking files with a client action" section sat between the Usage intro and its "Uploading files" and "Upload storage" subsections, so both rendered as children of the client-action section. Move it to just before Examples, where the Clipboard, Share and UrlLauncher pages put theirs. The "Pick and upload files" and "Pick text content" examples kept hand-written headings and intros, which duplicated the headings the remark plugin injects from each example's metadata, and the intros rendered above the injected heading. Move the intros into `docs_intro` and drop the hand-written headings. * Default the Canvas QuadraticTo weight to 1 on the Dart side `Path.QuadraticTo` defaults `w` to 1 in Python, and the serializer omits a field that equals its default, so a plain quadratic curve reaches the client without `w`. The Dart side fell back to a weight of 0. A conic with weight 0 is a straight line between its end points. Flutter 3.44 measured and dashed such conics as curves anyway, but Flutter 3.47 handles them correctly, so dashed paths built from `QuadraticTo` lost their curves (`test_draw_dashed_path_with_fill` dropped to 87.9% similarity). Fall back to 1, the same default as Python. * Turn off Kotlin incremental compilation for Android builds Kotlin Gradle plugin 2.3 compiles through the Build Tools API by default (`kotlin.compiler.runViaBuildToolsApi` defaults to true; it was false in 2.2.20). Its incremental cache stores every source path relative to the Android project. On Windows, when the pub cache and the app sit on different drives (C: and D: on GitHub's Windows runners), there is no relative path. Compiling a plugin such as battery_plus then fails with "Could not close incremental caches ... this and base files have different roots", which broke every apk-windows and aab-windows job. Set `kotlin.incremental=false` in the client and in flet-cli's default gradle.properties for generated projects. The plugin modules are small and Gradle still skips unchanged ones, so builds barely slow down. `[tool.flet.android.gradle_properties]` can turn it back on. * Fix pricing primary button text contrast (#6929) * Render desktop apps with Impeller and add a --no-impeller opt-out Desktop apps and the flet run client now use Flutter 3.47's default renderer, Impeller. The client and template runners switch to Skia when FLET_NO_IMPELLER is true at startup; release engines ignore Flutter's own engine-switch variables, and on macOS the runner replaces the private FlutterDartProject.enableImpeller getter only when asked. flet run --no-impeller (or impeller = false in pyproject) sets the variable for the client it opens. flet build/debug/test get --impeller/--no-impeller with [tool.flet(.<platform>)].impeller: the template runners bake it in on Windows and Linux, macOS gets FLTEnableImpeller=false and Android the EnableImpeller=false meta-data. Integration tests keep rendering with Skia until the goldens are regenerated. * Document the Impeller default and the --no-impeller opt-out * Bump Flutter to 3.47.6 3.47.6 fixes Windows release apps hanging while waiting on a timer (flutter/flutter#192513) and moves to Dart 3.13.5. The client lock and the generated icon lists don't change. * Link Impeller and Skia from the Renderer docs * Import widgets.dart in files that use no Material or Cupertino API 84 files import package:flutter/material.dart or cupertino.dart but use only widgets-level APIs: widgets, painting, animation, services and dart:ui types, which material.dart merely re-exports. Import package:flutter/widgets.dart there instead. This narrows the upcoming material_ui / cupertino_ui migration to the files that really use Material or Cupertino. Afterwards only 8 of the 19 extensions import either library. `flutter analyze` reports the same infos as before and no errors. * Skip the generated Dart icon lists in the typos check packages/flet/lib/src/utils/material_icons.dart and cupertino_icons.dart are generated from Flutter's icon sets and carry its spelling, including a few upstream misspellings (flourescent, no_meals_ouline, threed_rotation) that are part of the API. They were never edited since they were generated, so the hook never saw them; the material_ui migration touches their imports. Exclude them like the generated icon JSON lists, and allow the existing public LocaleExtention identifier. * Migrate packages/flet to material_ui and cupertino_ui Flutter 3.47 froze the Material and Cupertino libraries in the SDK and publishes them as the material_ui and cupertino_ui packages, which the SDK copies will be deprecated in favor of. The packages redeclare every Material and Cupertino type, so code has to switch as a whole. - pubspec: add material_ui ^1.6.0 and cupertino_ui ^1.1.2 and require Flutter >= 3.47. Move shimmer to ^4.0.0, which is built on material_ui. Drop flutter_localizations, which is now only used through material_ui. - Run `dart fix --apply --code=migrate_design_widgets` on lib and test (134 fixes in 118 files). - Localizations: material_ui and cupertino_ui ship their own GlobalMaterialLocalizations and GlobalCupertinoLocalizations, which clash with flutter_localizations' classes of the same names. Use material_ui's GlobalMaterialLocalizations.delegates (Cupertino, Material and widgets delegates) for the app and as the default of Locale.isSupportedByDelegates. - flet.dart no longer re-exports Icons and CupertinoIcons. Re-exporting them from either library makes the name ambiguous for code that imports the other one. Extensions import material_ui or cupertino_ui themselves. - Markdown: flutter_markdown_plus still builds on the SDK Material, so MarkdownStyleSheet.fromTheme only accepts the SDK ThemeData. Add markdownStyleSheetFromTheme(), a port of it for the material_ui theme, and always pass a full style sheet to MarkdownBody. Without one, MarkdownBody falls back to a sheet built from the SDK's default light theme, which renders dark text on dark backgrounds. `flutter analyze` reports no errors (the same infos as before), and the 91 tests pass. * Migrate the extensions to material_ui Seven of the extensions use Material APIs: ads, charts, code-editor, datatable2, map, spinkit and video. None uses Cupertino. - pubspec: add material_ui ^1.6.0 and require Flutter >= 3.47. - Run `dart fix --apply --code=migrate_design_widgets` (28 fixes). - datatable2: move to data_table_2 ^3.0.0, which is built on material_ui. 2.x takes the SDK's DataCell, DataRow and CheckboxThemeData, which no longer match the types Flet passes. Delete lib/src/data_sources.dart, data_table_2's example "Dessert" data sources that came along when the extension moved into this repo and that nothing imports. - code-editor: point flutter_code_editor at the fork's new `material-ui` branch, where CodeField is built on material_ui. The SDK TextField it used before fails with "No Material widget found" under material_ui's MaterialApp. `pinyin-fix` stays on the SDK libraries for Flet 1.0.x. `dart analyze`, as CI runs it, passes for all seven. * Vendor flutter_colorpicker and migrate color pickers to material_ui flutter_colorpicker builds its pickers on the Flutter SDK's Material widgets. Under material_ui's MaterialApp, the ColorPicker's label dropdown and hex TextField, HueRingPicker's TextField, and SlidePicker with labels fail with "No Material widget found" or "No MaterialLocalizations found", and MaterialPicker reads the SDK's fallback theme. The package has no material_ui release (its last release is 1.1.0, May 2024). Copy its lib/ (1.1.0, MIT) into lib/src/third_party/flutter_colorpicker with its LICENSE and a README stating its origin and changes, and migrate it together with the extension: add material_ui ^1.6.0, require Flutter >= 3.47 and run `dart fix --apply --code=migrate_design_widgets` (10 fixes). The vendored code is excluded from analysis and from the typos check, as it doesn't follow this repo's lints. (The repository's .gitignore ignores `vendor/` directories, hence `third_party/`.) `dart analyze`, as CI runs it, passes. * Move the build and extension templates to material_ui Build template: the boot-overlay MaterialApp in lib/main.dart now comes from material_ui, like the rest of Flet. The pubspec pins material_ui 1.6.0 and cupertino_ui 1.1.2 exactly. Generated projects have no committed lock and always resolve the newest versions, and material_ui ships often: 1.6.0 already changed DropdownButtonFormField layout. Flet releases should bump the pins deliberately. Extension template: the sample control only needs widgets, so it imports package:flutter/widgets.dart. The pubspec requires Flutter >= 3.47 and adds material_ui, so new extensions start on the Material library Flet uses instead of package:flutter/material.dart. * Generate the icon lists against material_ui and cupertino_ui The generated material_icons.dart and cupertino_icons.dart now import material_ui and cupertino_ui, like the rest of packages/flet. Update the generator's templates to match, otherwise CI's `generate_icons.py --verify` fails. Icon names stay sourced from the SDK at the .fvmrc version: the glyphs still come from the SDK's MaterialIcons font, and material_ui's icon set is identical today (8,825 Material and 1,322 Cupertino icons, same codepoints). * Theme map attribution buttons and custom video controls with material_ui flutter_map and media_kit_video are still built on the Flutter SDK's Material library, so the parts of them that read the Material theme or need a Material ancestor see the SDK's defaults instead of Flet's material_ui theme. - Map: RichAttributionWidget's default close button colors its icon from the SDK theme, which falls back to a dark icon on dark popups. Pass open and close buttons built with material_ui that match the defaults but take the app's theme. - Video: in fullscreen, media_kit shows custom controls in a route wrapped only in the SDK's Material, which material_ui widgets in the controls don't recognize. Give custom controls their own transparent Material. * Document the material_ui and cupertino_ui migration for extension authors * Tell the extension skill to use material_ui and cupertino_ui * Give Flet controls in video button bars a material_ui Material In fullscreen, media_kit shows its button bars in a route wrapped only in the SDK Material, so a Flet TextField or button placed in a top, primary or bottom bar had no material_ui Material ancestor: debug builds threw "No Material widget found" and ink effects were lost. * Render invalid Markdown LaTeX with material_ui's SelectableText flutter_math_fork falls back to the SDK SelectableText for TeX it can't parse. Its context menu looks up SDK localizations, so right-clicking the error message threw "No CupertinoLocalizations found" (or a null check in release). Markdown now uses its own copy of flutter_markdown_plus_latex's LatexElementBuilder that passes a material_ui SelectableText as the error fallback. * Correct the material_ui guide's freeze release and runtime claims The SDK libraries were frozen in Flutter 3.44; 3.47 is the first release with the 1.0 packages. SDK widgets that bring their own SDK Material keep working, and release builds mostly lose ink and theming rather than show error boxes. * Say which SDK widgets an SDK Material wrapper doesn't rescue * Lock the client to material_ui, cupertino_ui and the migrated code editor * Mention CupertinoApp in the material_ui guide * Lock the client to the code editor's lib/src/wip migration * Use flet-dev/flutter_colorpicker instead of a vendored copy The color pickers now depend on the material-ui branch of flet-dev/flutter_colorpicker, the 1.1.0 release moved to material_ui, the same way the code editor depends on flet-dev/flutter-code-editor. This drops the copy under lib/src/third_party and its analyzer and typos excludes. * Exclude build output from Dart analysis in flet_shadcn_ui Flutter 3.47's AnalysisOptionsMigration writes this block on every pub get, as for the other extensions in this branch. * Migrate flet_shadcn_ui to material_ui utils/theme.dart read the SDK Theme, which is Flutter's default light theme inside Flet's material_ui app, so shadcn controls ignored the page's dark mode. time_picker.dart used the SDK TimeOfDay, which no longer matches the one control.getTimeOfDay() returns. * Keep shadcn text field context menus working on Flutter 3.47 Flutter 3.47 shows a text field's context menu in the root overlay without the themes between the field and the Navigator. flet_shadcn_ui provides its ShadTheme only around each control, so right-clicking or long-pressing an Input, Textarea, InputOTP or TimePicker threw "ShadTheme.of() called with a context that does not contain a ShadTheme" and covered the window with an error box. Input and Textarea build shadcn_ui's menu inside the field's ShadTheme. InputOTP and TimePicker take no contextMenuBuilder, so their native menu is turned off. * Keep flet-1.1.0's shadcn_ui dependency versions in the client lock Regenerating the lock after the merge had moved flutter_shaders and theme_extensions_builder_annotation, which Flutter 3.47 doesn't require. * Scope the extension skill's SDK Material check to the parts a package uses --------- Co-authored-by: Feodor Fitsner <[email protected]>
1 parent 864e545 commit 5ca2d2c

266 files changed

Lines changed: 713 additions & 1009 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.agents/skills/implement-flet-extension/SKILL.md‎

Lines changed: 4 additions & 2 deletions

‎.github/scripts/generate_icons.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
`stable`. The client renders with the font shipped inside that exact SDK, so an
2121
icon taken from a newer `stable` would have a name and a packed value here and
2222
no glyph there - which renders as an empty box with no error anywhere.
23+
24+
The generated Dart lists refer to `Icons` and `CupertinoIcons` from the
25+
`material_ui` and `cupertino_ui` packages, which Flet's Dart code uses instead
26+
of the SDK's Material and Cupertino libraries. Their icon sets match the SDK's,
27+
but the glyphs still come from the SDK's font, so the names are taken from the
28+
SDK's sources.
2329
"""
2430

2531
import argparse

‎.github/scripts/templates/cupertino_icons.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import 'package:flutter/cupertino.dart';
1+
import 'package:cupertino_ui/cupertino_ui.dart';
22

33
List<IconData> cupertinoIcons = [
44
{% for name, code in icons -%}

‎.github/scripts/templates/material_icons.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import 'package:flutter/material.dart';
1+
import 'package:material_ui/material_ui.dart';
22

33
List<IconData> materialIcons = [
44
{% for name, code in icons -%}

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions

‎client/lib/main.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import 'package:flet_video/flet_video.dart' as flet_video;
3232
// --FAT_CLIENT_END--
3333
import 'package:flet_webview/flet_webview.dart' as flet_webview;
3434
import 'package:flutter/foundation.dart';
35-
import 'package:flutter/material.dart';
35+
import 'package:flutter/widgets.dart';
3636
import 'package:flutter_web_plugins/url_strategy.dart';
3737

3838
const bool isProduction = bool.fromEnvironment('dart.vm.product');

‎client/pubspec.lock‎

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,14 @@ packages:
257257
url: "https://pub.dev"
258258
source: hosted
259259
version: "1.0.9"
260+
cupertino_ui:
261+
dependency: transitive
262+
description:
263+
name: cupertino_ui
264+
sha256: ea0b8170b40a86262b2fc21ac0625303f52df209dbf6fccc2b98b27eff44f6ce
265+
url: "https://pub.dev"
266+
source: hosted
267+
version: "1.1.2"
260268
dart_earcut:
261269
dependency: transitive
262270
description:
@@ -277,10 +285,10 @@ packages:
277285
dependency: transitive
278286
description:
279287
name: data_table_2
280-
sha256: cb31d465dcf1e1598a662d06d3d2c16c73700ae9e837a3d91588f1dda7519abc
288+
sha256: e49d91e7aeabd751336b3981814c2d63c2e935d01ebfb5ad1f4047ab1f8438e5
281289
url: "https://pub.dev"
282290
source: hosted
283-
version: "2.7.2"
291+
version: "3.0.0"
284292
dbus:
285293
dependency: transitive
286294
description:
@@ -548,18 +556,19 @@ packages:
548556
dependency: transitive
549557
description:
550558
path: "."
551-
ref: pinyin-fix
552-
resolved-ref: "9a6e13f012b34b8a0c219f165b87c6eeadf4c9a5"
559+
ref: material-ui
560+
resolved-ref: "789ce786a7fd64ffd5d180d5dceb78166e2178d8"
553561
url: "https://github.com/flet-dev/flutter-code-editor"
554562
source: git
555563
version: "0.3.5"
556564
flutter_colorpicker:
557565
dependency: transitive
558566
description:
559-
name: flutter_colorpicker
560-
sha256: "969de5f6f9e2a570ac660fb7b501551451ea2a1ab9e2097e89475f60e07816ea"
561-
url: "https://pub.dev"
562-
source: hosted
567+
path: "."
568+
ref: material-ui
569+
resolved-ref: "2696164b1c96048754d6c26741f8d897525a09c1"
570+
url: "https://github.com/flet-dev/flutter_colorpicker"
571+
source: git
563572
version: "1.1.0"
564573
flutter_driver:
565574
dependency: transitive
@@ -1055,6 +1064,14 @@ packages:
10551064
url: "https://pub.dev"
10561065
source: hosted
10571066
version: "0.13.0"
1067+
material_ui:
1068+
dependency: transitive
1069+
description:
1070+
name: material_ui
1071+
sha256: "98ab9eda579ecae623e4b376c603035c5def78ce706f735f30bd632af5814695"
1072+
url: "https://pub.dev"
1073+
source: hosted
1074+
version: "1.6.0"
10581075
media_kit:
10591076
dependency: transitive
10601077
description:
@@ -1707,10 +1724,10 @@ packages:
17071724
dependency: transitive
17081725
description:
17091726
name: shimmer
1710-
sha256: "5f88c883a22e9f9f299e5ba0e4f7e6054857224976a5d9f839d4ebdc94a14ac9"
1727+
sha256: "61ef3b8de6bdb9f16db1bb78d502cb991a12b5223fd2c0b9114d41e782227b55"
17111728
url: "https://pub.dev"
17121729
source: hosted
1713-
version: "3.0.0"
1730+
version: "4.0.0"
17141731
simple_sparse_list:
17151732
dependency: transitive
17161733
description:
@@ -2157,5 +2174,5 @@ packages:
21572174
source: hosted
21582175
version: "3.1.4"
21592176
sdks:
2160-
dart: ">=3.12.0 <4.0.0"
2161-
flutter: ">=3.44.0"
2177+
dart: ">=3.13.0 <4.0.0"
2178+
flutter: ">=3.47.0"

‎packages/flet/CHANGELOG.md‎

Lines changed: 2 additions & 0 deletions

‎packages/flet/lib/flet.dart‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ library flet;
22

33
export 'dart:io';
44

5-
export 'package:flutter/cupertino.dart' show CupertinoIcons;
6-
export 'package:flutter/material.dart' show Icons;
7-
85
export 'src/controls/base_controls.dart';
96
export 'src/controls/control_widget.dart';
107
export 'src/extensions/control.dart';

‎packages/flet/lib/src/controls/adaptive_alert_dialog.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import 'package:flutter/material.dart';
1+
import 'package:flutter/widgets.dart';
22

33
import '../controls/alert_dialog.dart';
44
import '../models/control.dart';

0 commit comments

Comments
 (0)