Files
fluchi/lib/main.dart
2025-04-19 13:02:28 +03:00

31 lines
644 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"),
centerTitle: true,
),
body: Column(
children: [
Icon(Icons.scale), Text("Body Mass"), // I would like icon to be in the same row as text; ai!
Text("Fat Pct"),
Text("Daily Caloric Norm"),
],
),
)
);
}
}