30 lines
793 B
Dart
30 lines
793 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:drifter/theme/app_colors.dart';
|
|
|
|
import 'package:drifter/widgets/main_screen/main_screen_widget.dart';
|
|
|
|
void main() {
|
|
runApp(const MyApp());
|
|
}
|
|
|
|
class MyApp extends StatelessWidget {
|
|
const MyApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Flutter Demo',
|
|
theme: ThemeData(
|
|
appBarTheme: const AppBarTheme(backgroundColor: AppColors.mainDarkBlue),
|
|
primarySwatch: Colors.blue,
|
|
bottomNavigationBarTheme: const BottomNavigationBarThemeData(
|
|
backgroundColor: AppColors.mainDarkBlue,
|
|
selectedItemColor: Colors.white,
|
|
unselectedItemColor: Colors.grey,
|
|
),
|
|
),
|
|
home: const MainScreenWidget(),
|
|
);
|
|
}
|
|
}
|