navi 0.2.0-rc+0 copy "navi: ^0.2.0-rc+0" to clipboard
navi: ^0.2.0-rc+0 copied to clipboard

outdated

A declarative navigation framework for Flutter, based on Navigator 2.0.

example/example.md

For more details, please check provided examples.

pubspec.xml

dependencies:
  navi: any

main.dart

import 'package:flutter/material.dart';
import 'package:navi/navi.dart';

void main() {
  runApp(App());
}

class App extends StatelessWidget {
  final _informationParser = NaviInformationParser();
  final _routerDelegate = NaviRouterDelegate(rootStack: BookStack());

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      title: 'Navi - Declarative navigation API for Flutter',
      routeInformationParser: _informationParser,
      routerDelegate: _routerDelegate,
    );
  }
}
16
likes
0
points
56
downloads

Publisher

verified publisherzenonine.com

Weekly Downloads

A declarative navigation framework for Flutter, based on Navigator 2.0.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, flutter, logging

More

Packages that depend on navi