Files
fluchi/lib/main.dart
2025-04-19 11:48:47 +03:00

26 lines
584 B
Dart

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"),
),
)
);
}
}