Quick Start
Install Flutter
$ brew install flutter
Create a Flutter app
$ flutter create my_app
패키지 추가
yir_ui:
git:
url: git@github.com:philip1974/yir_ui.git
main.dart
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
);
runApp(MyApp());
}
go_router 설정
return MaterialApp.router(
debugShowCheckedModeBanner: false,
routerDelegate: router.routerDelegate,
routeInformationParser: router.routeInformationParser,
routeInformationProvider: router.routeInformationProvider,
);