route_aware_widget 0.0.2 copy "route_aware_widget: ^0.0.2" to clipboard
route_aware_widget: ^0.0.2 copied to clipboard

A Flutter package that makes widgets aware of route navigation changes. Get callbacks when your widget's page appears or disappears.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add route_aware_widget

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  route_aware_widget: ^0.0.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_aware_widget/route_aware_widget.dart';
0
likes
125
points
127
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that makes widgets aware of route navigation changes. Get callbacks when your widget's page appears or disappears.

Repository (GitHub)
View/report issues

Topics

#navigation #route #lifecycle #widget #analytics

Documentation

API reference

License

unknown (license)

Dependencies

auto_route, flutter, go_router

More

Packages that depend on route_aware_widget