fluent_navigation 1.1.0 copy "fluent_navigation: ^1.1.0" to clipboard
fluent_navigation: ^1.1.0 copied to clipboard

Package that provides a simple way to navigate within your app

example/lib/main.dart

import 'package:fluent_navigation_example/example_module.dart';
import 'package:flutter/material.dart';
import 'package:fluent_navigation/fluent_navigation.dart';

void main() async {
  await Fluent.build([
    NavigationModule(initialLocation: "/a"),
    ExampleModule(),
  ]);

  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    final router = Fluent.get<NavigationApi>().router;

    return MaterialApp.router(
      title: "Fluent Navigation Demo",
      routerConfig: router,
    );
  }
}
0
likes
150
pub points
54%
popularity

Publisher

unverified uploader

Package that provides a simple way to navigate within your app

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

collection, fluent_navigation_api, fluent_sdk, flutter, go_router

More

Packages that depend on fluent_navigation