fleet_imports 0.1.1+1 copy "fleet_imports: ^0.1.1+1" to clipboard
fleet_imports: ^0.1.1+1 copied to clipboard

Alternative imports for Flutter libraries, that substitute widgets for which Fleet provides drop-in replacements.

Alternative imports for Flutter libraries (widgets, material and cupertino), that substitute widgets for which Fleet provides drop-in replacements.

By using these imports, you can use Fleet's widgets without having to change your code.

Usage #

Add a dependency on fleet_imports by running dart pub add fleet_imports in your project's root directory.

Then, in your Dart code, replace the imports of package:flutter libraries with the corresponding library from package:fleet_imports:

-import 'package:flutter/material.dart';
+import 'package:fleet_imports/flutter/material.dart';

If you are importing a combination of the widgets, material and cupertino libraries in a file, you have to switch all of them to the corresponding fleet_imports library.

0
likes
150
pub points
0%
popularity

Publisher

verified publishergabriel.terwesten.net

Alternative imports for Flutter libraries, that substitute widgets for which Fleet provides drop-in replacements.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

fleet, flutter

More

Packages that depend on fleet_imports