FleuryApp constructor
const
FleuryApp({
- Key? key,
- required String title,
- List<
AppCommand> commands = const <AppCommand>[], - List<
Object> extensions = const <Object>[], - AppStatusBuilder? status,
- ThemeData? theme,
- Widget? home,
- Widget? child,
Implementation
const FleuryApp({
super.key,
required this.title,
this.commands = const <AppCommand>[],
this.extensions = const <Object>[],
this.status,
this.theme,
this.home,
this.child,
}) : assert(
(home == null) != (child == null),
'Exactly one of home or child must be provided.',
);