FluttyApp
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart';
void main() => runApp(const FluttyApp(home: Text('Hello')));Use FluttyApp.router(routerConfig: router) for declarative navigation. The
standard constructor supports home, routes, initialRoute, navigator keys,
observers and route factories. Named routes use the theme's navigation motion.
Custom routes and router packages control their own transitions.
builder runs inside localization, the theme, scroll configuration and an
overlay. Preserve its child when using navigation. locale,
supportedLocales, localization delegates, shortcuts, actions, restoration,
and debug options are available on both constructors. Widgets and Cupertino
localizations support platform text editing; the application has no Material
widget dependency.
Component imports
Use package:fluttyui/fluttyui.dart as the public entry point. FluttyApp is the only public API with the library prefix. An optional import alias such as ui helps disambiguate classes shared with Flutter.
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;Overlays
Place dialogs, popovers, sheets, and notifications below FluttyApp so they can resolve the application overlay and theme. Consult each overlay component for its constructor or presentation method.