From 7c0b41c9f7693d6b6a288f52b229d89d632ecffa Mon Sep 17 00:00:00 2001 From: Hadi Mottale Date: Mon, 14 Jul 2025 11:14:36 +0330 Subject: [PATCH] Update: lib/main.dart --- lib/main.dart | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) 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