PIbd-31-Makarov-DV-MobilePr.../lib/main.dart

23 lines
496 B
Dart
Raw Normal View History

2024-09-09 20:19:01 +04:00
import 'package:flutter/material.dart';
import 'package:flutter_project/views/home_page/home_page.dart';
2024-09-09 20:19:01 +04:00
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(
2024-10-02 22:38:49 +04:00
colorScheme: ColorScheme.fromSeed(seedColor: Colors.lightGreen),
2024-09-09 20:19:01 +04:00
useMaterial3: true,
),
home: const HomePage(),
2024-09-09 20:19:01 +04:00
);
}
}