PIbd-33_Radaev_A_V_PMD/lib/main.dart
Arkadiy Radaev e5790081f0 lab 5 start
2024-10-28 16:20:50 +04:00

24 lines
603 B
Dart

import 'package:flutter/material.dart';
import 'presentation/home_page/home_page.dart';
// flutter pub run build_runner build --delete-conflicting-outputs
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'My app',
debugShowCheckedModeBanner: false,
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.orangeAccent),
useMaterial3: true,
),
home: const MyHomePage(title: 'Kupi Slona'),
);
}
}