my_local_hero 0.2.0
my_local_hero: ^0.2.0 copied to clipboard
A new Flutter project.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add my_local_heroThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
my_local_hero: ^0.2.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:my_local_hero/lib/local_hero.dart';
import 'package:my_local_hero/lib/src/rendering/controller.dart';
import 'package:my_local_hero/lib/src/rendering/layer.dart';
import 'package:my_local_hero/lib/src/rendering/local_hero_layer.dart';
import 'package:my_local_hero/lib/src/widgets/local_hero.dart';
import 'package:my_local_hero/lib/src/widgets/local_hero_layer.dart';
import 'package:my_local_hero/lib/src/widgets/local_hero_scope.dart';
import 'package:my_local_hero/main.dart';