mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
23 lines
614 B
Dart
23 lines
614 B
Dart
import 'package:app_flowy/startup/startup.dart';
|
|
import 'package:app_flowy/user/presentation/splash_screen.dart';
|
|
import 'package:easy_localization/easy_localization.dart';
|
|
import 'package:hotkey_manager/hotkey_manager.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class FlowyApp implements EntryPoint {
|
|
@override
|
|
Widget create() {
|
|
return const SplashScreen();
|
|
}
|
|
}
|
|
|
|
void main() async {
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
await EasyLocalization.ensureInitialized();
|
|
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
await hotKeyManager.unregisterAll();
|
|
|
|
await FlowyRunner.run(FlowyApp());
|
|
}
|