What's changed
- Fixes #293: migrated the package and example from Flutter's bundled
package:flutter/material.dartandpackage:flutter/cupertino.dartlibraries to the standalonematerial_uiandcupertino_uipackages introduced with Flutter 3.47. - Added direct dependencies on
material_ui: ^1.0.1andcupertino_ui: ^1.0.0. - Updated the minimum constraints to Dart
^3.12.0and Flutter>=3.44.0, matching the standalone UI packages. - No compatibility bridge is used.
- Added standalone Material and Cupertino UI regression coverage.
- Reduced the Pub archive from approximately 7 MB to 143 KB and brought
flutter pub publish --dry-runto 0 warnings.
Verification
Verified with Flutter 3.47.1 / Dart 3.13.1:
- Root package and example pass
flutter analyze. - All package and example widget tests pass.
- Web and Windows release builds succeed.
- A clean external consumer project resolves
flutter_smart_dialog 5.2.0from pub.dev and passes standalone Material/Cupertino tests and a Web release build.