wetland 0.1.0
wetland: ^0.1.0 copied to clipboard
Adaptive navigation framework for Flutter. Three-column layout with per-tab detail stacks, auto_route based, works on phone, tablet and desktop.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:wetland_example/router/observer.dart';
import './router/router.dart';
void main() {
runApp(WetlandExampleApp());
}
class WetlandExampleApp extends StatelessWidget {
const WetlandExampleApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp.router(
routerConfig: AppRouter().config(
navigatorObservers: () => [RouterObserver()],
),
);
}
}