29 lines
681 B
Dart
29 lines
681 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
void main() {
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle(
|
|
statusBarColor: Colors.white,
|
|
statusBarIconBrightness: Brightness.dark,
|
|
statusBarBrightness: Brightness.light,
|
|
));
|
|
runApp(const MyApp());
|
|
}
|
|
|
|
class MyApp extends StatelessWidget {
|
|
const MyApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'City Cards Partner',
|
|
theme: ThemeData(
|
|
textTheme: GoogleFonts.poppinsTextTheme(
|
|
Theme.of(context).textTheme,
|
|
)
|
|
),
|
|
initialRoute: '/login',
|
|
);
|
|
}
|
|
}
|