commit 932743545355b751092710ae01ece7d42c886539 Author: Grail Finder Date: Sat Apr 19 11:48:47 2025 +0300 feat: add 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