FleuryApp constructor

const FleuryApp({
  1. Key? key,
  2. required String title,
  3. List<AppCommand> commands = const <AppCommand>[],
  4. List<Object> extensions = const <Object>[],
  5. AppStatusBuilder? status,
  6. ThemeData? theme,
  7. Widget? home,
  8. 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.',
     );