main function
Implementation
Future<void> main({bool useEmulator = false}) async {
WidgetsFlutterBinding.ensureInitialized();
BrowserContextMenu.disableContextMenu();
// usePathUrlStrategy();
runApp(FlutterContentApp(
appName: "biancashouse",
editorPasswords: const [' '], // TODO hide this (secret)
title: 'Bianca\'s House',
routingConfig: webRoutingConfig,
initialRoutePath: '/',
materialAppThemeF: () => ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
primaryColor: fco.FUCHSIA_X,
primarySwatch: Colors.purple,
),
fbOptions: BH_APPS_DefaultFirebaseOptions.currentPlatform,
useEmulator: useEmulator,
useFBStorage: true,
));
}