chore: use proper indentation on commented code in example

This commit is contained in:
Joey Boerwinkel 2025-03-11 14:43:42 +01:00 committed by FlutterJoey
parent ad615133e4
commit 3b4b456db2

View file

@ -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