diff --git a/lib/main.dart b/lib/main.dart index 63b3f0b..7dd1483 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:photo_mosaic_app/home_page.dart'; void main() { runApp(const MyApp()); @@ -10,24 +11,12 @@ class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( - title: 'Flutter Demo', - home: const MyHomePage(title: 'Flutter Demo Home Page'), + title: 'Photo Mosaic Generator', + theme: ThemeData( + colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), + useMaterial3: true, + ), + home: const HomePage(), ); } -} - -class MyHomePage extends StatefulWidget { - const MyHomePage({super.key, required this.title}); - - final String title; - - @override - State createState() => _MyHomePageState(); -} - -class _MyHomePageState extends State { - @override - Widget build(BuildContext context) { - return Scaffold(appBar: AppBar(), body: Center()); - } -} +} \ No newline at end of file