feat: update body layout with new widgets and text
This commit is contained in:

committed by
Grail Finder (aider)

parent
9325cd49f8
commit
95af0d3a38
@ -10,15 +10,19 @@ class TheApp extends StatelessWidget {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
// theme: ,
|
// theme:,
|
||||||
home: Scaffold(
|
home: Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
backgroundColor: Colors.deepPurple,
|
backgroundColor: Colors.deepPurple,
|
||||||
title: const Text("Tamagochi 2.0"),
|
title: const Text("Tamagochi 2.0"),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
),
|
),
|
||||||
body: Container(
|
body: Column(
|
||||||
child: const Text("this is a body"),
|
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"),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user