languages

A collection of programs made with different programming languages.
git clone git://evanalba.com/languages
Log | Files | Refs

main.dart (584B)


      1 import 'package:flutter/material.dart';
      2 import 'package:penny/pages/auth_page.dart';
      3 import 'package:firebase_core/firebase_core.dart';
      4 import 'firebase_options.dart';
      5 
      6 void main() async {
      7   WidgetsFlutterBinding.ensureInitialized();
      8   await Firebase.initializeApp(
      9     options: DefaultFirebaseOptions.currentPlatform,
     10   );
     11   runApp(const MainApp());
     12 }
     13 
     14 class MainApp extends StatelessWidget {
     15   const MainApp({super.key});
     16 
     17   @override
     18   Widget build(BuildContext context) {
     19     return const MaterialApp(
     20       debugShowCheckedModeBanner: false,
     21       home: AuthPage(),
     22     );
     23   }
     24 }