24 lines
603 B
Dart
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'),
|
|
);
|
|
}
|
|
}
|