flutter_app_navigator 0.0.3 copy "flutter_app_navigator: ^0.0.3" to clipboard
flutter_app_navigator: ^0.0.3 copied to clipboard

This is a navigator, route and screen movement library.

example/lib/main.dart

import 'package:flutter/material.dart';

void main() {
  runApp(const Application());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'App Navigator',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const Home(title: 'Flutter Demo Home Page'),
    );
  }
}

class Home extends StatelessWidget {
  const Home({super.key, required this.title});

  final String title;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(title),
      ),
      body: const Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text('Home'),
          ],
        ),
      ),
    );
  }
}
2
likes
130
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

This is a navigator, route and screen movement library.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, go_router

More

Packages that depend on flutter_app_navigator