fast_nav 0.1.0 copy "fast_nav: ^0.1.0" to clipboard
fast_nav: ^0.1.0 copied to clipboard

outdated

Navigate without context. Call navigation methods from your business logic.

Navigate without context

pub package codecov checks popularity likes pub points

Features #

fast_nav supports the following navigation methods:

  • pop
  • canPop
  • push
  • pushReplacement
  • pushAndRemoveUntil
  • pushAndRemoveAll
  • pushNamed
  • pushReplacementNamed
  • pushNamedAndRemoveUntil
  • pushNamedAndRemoveAll

fast_nav supports nested navigation and provides a NestedNavigator class for simple setup

Getting started #

MaterialApp(
  navigatorKey: FastNav.init(GlobalKey<NavigatorState>()),
);

Usage #

import 'package:fast_nav/fast_nav.dart';

FastNav.push(const NewPage());
import 'package:fast_nav/fast_nav.dart';

...

NestedNavigator(
  navigatorKey: GlobalKey<NavigatorState>(),
  name: 'nested',
  home: const Text('home'),
);

...

FastNav.push(const NewPage(), navigatorName: 'nested');

Additional information #

See fast_ui for more information

0
likes
0
pub points
26%
popularity

Publisher

verified publisherrexios.dev

Navigate without context. Call navigation methods from your business logic.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on fast_nav