Feat: add pages and navigation between them; random mass

This commit is contained in:
Grail Finder
2025-04-27 08:41:23 +03:00
parent e79b3e691a
commit 374728da45
5 changed files with 165 additions and 24 deletions

View File

@ -1,36 +1,23 @@
import 'package:flutter/material.dart';
import 'package:fitneschi/pages/home.dart';
import 'package:fitneschi/pages/gain_room.dart';
import 'package:fitneschi/pages/lose_room.dart';
void main(){
runApp(TheApp());
// runApp(
// MaterialApp(
// title: "title",
// home: 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: [
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(Icons.scale),
Text("Body Mass"),
],
),
Text("Fat Pct"),
Text("Daily Caloric Norm"),
],
),
)
home: Home(),
);
}
}