| 1234567891011121314151617181920212223242526272829303132333435363738 |
- import 'package:flutter/material.dart';
- import 'package:firebase_core/firebase_core.dart';
- import 'package:physigo/firebase_options.dart';
- void main() async {
- WidgetsFlutterBinding.ensureInitialized();
- await Firebase.initializeApp(
- options: DefaultFirebaseOptions.currentPlatform,
- );
- runApp(const PhysiGo());
- }
- class PhysiGo extends StatelessWidget {
- const PhysiGo({Key? key}) : super(key: key);
- @override
- Widget build(BuildContext context) {
- return MaterialApp(
- title: 'PhysiGo',
- theme: ThemeData(
- primarySwatch: Colors.blue,
- ),
- home: const HomePage(),
- );
- }
- }
- class HomePage extends StatelessWidget {
- const HomePage({Key? key}) : super(key: key);
- @override
- Widget build(BuildContext context) {
- return const Scaffold(
- body: Center(
- child: Text("Home"),
- ),
- );
- }
- }
|