DemoFluApp constructor

DemoFluApp({
  1. required String title,
  2. required List<DemoMenuItem> rootMenus,
  3. DemoFluTheme? theme,
  4. MacroFactory? macroFactory,
})

Implementation

DemoFluApp(
    {required String title,
    required List<DemoMenuItem> rootMenus,
    DemoFluTheme? theme,
    MacroFactory? macroFactory})
    : _model = DemoFluModel(title: title, rootMenus: rootMenus),
      _theme = theme ?? DemoFluTheme(),
      macro = macroFactory ?? MacroFactory();