From 3b4b456db28a3caf29e9d1cc65923c0272094f2f Mon Sep 17 00:00:00 2001 From: Joey Boerwinkel Date: Tue, 11 Mar 2025 14:43:42 +0100 Subject: [PATCH] chore: use proper indentation on commented code in example --- packages/flutter_chat/example/lib/main.dart | 27 +++++++++++---------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/packages/flutter_chat/example/lib/main.dart b/packages/flutter_chat/example/lib/main.dart index 83e9873..cb7d036 100644 --- a/packages/flutter_chat/example/lib/main.dart +++ b/packages/flutter_chat/example/lib/main.dart @@ -19,18 +19,19 @@ class MyApp extends StatelessWidget { useMaterial3: true, ), home: const MyHomePage(), - // FutureBuilder( - // future: Firebase.initializeApp( - // options: DefaultFirebaseOptions.currentPlatform, + // home: FutureBuilder( + // future: Firebase.initializeApp( + // 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 { // @override // void initState() { - // FirebaseAuth.instance.signInAnonymously(); - // super.initState(); + // FirebaseAuth.instance.signInAnonymously(); + // super.initState(); // } @override