map_viewport_bloc 0.4.0
map_viewport_bloc: ^0.4.0 copied to clipboard
Camera follow, free look, route overview — without reinventing viewport logic. Declarative state machine for navigation map cameras and six-layer composition. Bring your own renderer.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add map_viewport_blocWith Flutter:
$ flutter pub add map_viewport_blocThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
map_viewport_bloc: ^0.4.0Alternatively, 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:map_viewport_bloc/map_viewport_bloc.dart';