2024-09-29 18:33:19 +04:00
|
|
|
import 'package:flutter/material.dart';
|
2024-10-14 18:05:40 +04:00
|
|
|
import 'presentation/home_page/home_page.dart';
|
2024-10-28 16:20:50 +04:00
|
|
|
// flutter pub run build_runner build --delete-conflicting-outputs
|
2024-09-29 18:33:19 +04:00
|
|
|
void main() {
|
|
|
|
runApp(const MyApp());
|
|
|
|
}
|
|
|
|
|
|
|
|
class MyApp extends StatelessWidget {
|
|
|
|
const MyApp({super.key});
|
|
|
|
|
2024-10-08 18:05:02 +04:00
|
|
|
@override
|
2024-09-29 18:33:19 +04:00
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return MaterialApp(
|
2024-10-08 18:05:02 +04:00
|
|
|
title: 'My app',
|
|
|
|
debugShowCheckedModeBanner: false,
|
2024-09-29 18:33:19 +04:00
|
|
|
theme: ThemeData(
|
2024-10-08 18:05:02 +04:00
|
|
|
colorScheme: ColorScheme.fromSeed(seedColor: Colors.orangeAccent),
|
2024-09-29 18:33:19 +04:00
|
|
|
useMaterial3: true,
|
|
|
|
),
|
2024-10-08 18:05:02 +04:00
|
|
|
home: const MyHomePage(title: 'Kupi Slona'),
|
2024-09-29 18:33:19 +04:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|