Profile View
This commit is contained in:
+11
-3
@@ -2,7 +2,10 @@ import 'package:firebase_core/firebase_core.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_settings_screens/flutter_settings_screens.dart';
|
||||
import 'package:le_kiosque_by_gcs/services/auth/main_auth.dart';
|
||||
import 'package:le_kiosque_by_gcs/ui/landing.dart';
|
||||
import 'package:le_kiosque_by_gcs/ui/view/landing.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
import 'services/auth/auth.dart';
|
||||
|
||||
void main() async {
|
||||
await Settings.init(cacheProvider: SharePreferenceCache());
|
||||
@@ -20,9 +23,14 @@ class MyApp extends StatelessWidget {
|
||||
theme: ThemeData(
|
||||
primarySwatch: Colors.blue,
|
||||
),
|
||||
home: LandingPageView(
|
||||
auth: MainAuth(),
|
||||
home: MultiProvider(
|
||||
providers: [
|
||||
Provider<Auth>(create: (_) => MainAuth())
|
||||
],
|
||||
child: LandingPageView(),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user