fix_flutter_deprecations 0.1.2
fix_flutter_deprecations: ^0.1.2 copied to clipboard
A powerful and extensible Dart CLI tool that automatically fixes Flutter deprecations in your codebase
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate fix_flutter_deprecationsUse it
The package has the following executables:
$ fix_deprecations
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fix_flutter_deprecationsWith Flutter:
$ flutter pub add fix_flutter_deprecationsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
fix_flutter_deprecations: ^0.1.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fix_flutter_deprecations/fix_flutter_deprecations.dart';