mirror of
https://github.com/Iconica-Development/flutter_chat.git
synced 2025-05-18 18:33:49 +02:00
chore: use proper indentation on commented code in example
This commit is contained in:
parent
ad615133e4
commit
3b4b456db2
1 changed files with 14 additions and 13 deletions
|
@ -19,18 +19,19 @@ class MyApp extends StatelessWidget {
|
||||||
useMaterial3: true,
|
useMaterial3: true,
|
||||||
),
|
),
|
||||||
home: const MyHomePage(),
|
home: const MyHomePage(),
|
||||||
// FutureBuilder(
|
// home: FutureBuilder(
|
||||||
// future: Firebase.initializeApp(
|
// future: Firebase.initializeApp(
|
||||||
// options: DefaultFirebaseOptions.currentPlatform,
|
// options: DefaultFirebaseOptions.currentPlatform,
|
||||||
|
// ),
|
||||||
|
// builder: (context, snapshot) {
|
||||||
|
// if (snapshot.connectionState != ConnectionState.done) {
|
||||||
|
// return const Center(
|
||||||
|
// child: CircularProgressIndicator(),
|
||||||
|
// );
|
||||||
|
// }
|
||||||
|
// return const MyHomePage();
|
||||||
|
// },
|
||||||
// ),
|
// ),
|
||||||
// builder: (context, snapshot) {
|
|
||||||
// if (snapshot.connectionState != ConnectionState.done) {
|
|
||||||
// return const Center(
|
|
||||||
// child: CircularProgressIndicator(),
|
|
||||||
// );
|
|
||||||
// }
|
|
||||||
// return const MyHomePage();
|
|
||||||
// }),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -45,8 +46,8 @@ class MyHomePage extends StatefulWidget {
|
||||||
class _MyHomePageState extends State<MyHomePage> {
|
class _MyHomePageState extends State<MyHomePage> {
|
||||||
// @override
|
// @override
|
||||||
// void initState() {
|
// void initState() {
|
||||||
// FirebaseAuth.instance.signInAnonymously();
|
// FirebaseAuth.instance.signInAnonymously();
|
||||||
// super.initState();
|
// super.initState();
|
||||||
// }
|
// }
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
Loading…
Reference in a new issue