route_flutter_bloc 9.2.2
route_flutter_bloc: ^9.2.2 copied to clipboard
Improve Flutter BLoC performance with navigation-aware widgets. Skip rebuilds and side-effects when screens are hidden. React on resume only if state changed.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add route_flutter_bloc
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
route_flutter_bloc: ^9.2.2
Alternatively, 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:route_flutter_bloc/route_flutter_bloc.dart';