39 lines
1.0 KiB
Dart
39 lines
1.0 KiB
Dart
import 'package:flutter/cupertino.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter/services.dart';
|
|
import 'pages/home_page.dart';
|
|
import 'theme/app_theme.dart';
|
|
|
|
void main() {
|
|
SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle(
|
|
statusBarColor: Colors.transparent,
|
|
statusBarIconBrightness: Brightness.dark,
|
|
));
|
|
runApp(const TempoApp());
|
|
}
|
|
|
|
class TempoApp extends StatelessWidget {
|
|
const TempoApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Tempo Flow',
|
|
debugShowCheckedModeBanner: false,
|
|
theme: ThemeData(
|
|
useMaterial3: true,
|
|
scaffoldBackgroundColor: AppTheme.bgLight,
|
|
primaryColor: AppTheme.primary,
|
|
fontFamily: 'Helvetica Neue',
|
|
textTheme: const TextTheme(
|
|
bodyMedium: TextStyle(color: AppTheme.textMain),
|
|
),
|
|
cupertinoOverrideTheme: NoDefaultCupertinoThemeData(
|
|
primaryColor: AppTheme.primary,
|
|
),
|
|
),
|
|
home: const HomePage(),
|
|
);
|
|
}
|
|
}
|