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

The Zero-Ambiguity Flutter Routing Revolution. Instant app creation, smart parameter detection, zero-config route guards, and file-based routing.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'app_router.g.dart';

/// The main entry point of the go_router_sugar example application.
void main() {
  runApp(const MyApp());
}

/// The root widget of the example application demonstrating go_router_sugar.
class MyApp extends StatelessWidget {
  /// Creates the main app widget.
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      title: 'Go Router Sugar Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      routerConfig: AppRouter.router,
    );
  }
}
5
likes
0
points
162
downloads

Publisher

verified publisherionicerrrrscode.com

Weekly Downloads

The Zero-Ambiguity Flutter Routing Revolution. Instant app creation, smart parameter detection, zero-config route guards, and file-based routing.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

analyzer, build, flutter, glob, go_router, meta, path, source_gen

More

Packages that depend on go_router_sugar