startUiDevApp function

void startUiDevApp ()

Implementation

void startUiDevApp() {
  WidgetsFlutterBinding.ensureInitialized();
  AppContext appContext = getAppContext(AppContextType.PROD);
  AppAuth appAuth = getAppAuth(AppAuthType.DUMB_AUTH);
  AppTheme appTheme = getAppTheme(AppThemeType.OFFLINE);
  DataBackend dataBackend = getDataBackend(BackendType.DUMB);
  runApp(
    MultiProvider(
      providers: [
        ChangeNotifierProvider(create: (context) => appTheme),
        ChangeNotifierProvider(create: (context) => appAuth),
        ChangeNotifierProvider(create: (context) => dataBackend),
        ChangeNotifierProvider(create: (context) => appContext),
      ],
      child: FivePercentUiDevApp(),
    ),
  );
}