From 932743545355b751092710ae01ece7d42c886539 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sat, 19 Apr 2025 11:48:47 +0300 Subject: [PATCH] feat: add main.dart --- lib/main.dart | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lib/main.dart diff --git a/lib/main.dart b/lib/main.dart new file mode 100644 index 0000000..458966b --- /dev/null +++ b/lib/main.dart @@ -0,0 +1,26 @@ +import 'package:flutter/material.dart'; + +void main(){ + runApp(TheApp()); +} + +class TheApp extends StatelessWidget { + const TheApp({super.key}); + + @override + Widget build(BuildContext context) { + return MaterialApp( + // theme: , + home: Scaffold( + appBar: AppBar( + backgroundColor: Colors.deepPurple, + title: const Text("Tamagochi 2.0"), + titleSpacing: Align(this.title), // I want to center-align title horizontaly; ai! + ), + body: Container( + child: const Text("this is a body"), + ), + ) + ); + } +} \ No newline at end of file