route_flutter_bloc 9.1.1
route_flutter_bloc: ^9.1.1 copied to clipboard
Improve Flutter BLoC performance with navigation-aware widgets. Avoid rebuilds and side-effects when screens are hidden, and automatically respond when the page becomes visible again — but only if the [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add route_flutter_blocWith Flutter:
$ flutter pub add route_flutter_blocThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
route_flutter_bloc: ^9.1.1Alternatively, 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:route_flutter_bloc/route_flutter_bloc.dart';