feat: align icon and text in same row

This commit is contained in:
Grail Finder (aider)
2025-04-19 13:02:34 +03:00
parent 95af0d3a38
commit c2786511f3

View File

@ -19,7 +19,12 @@ class TheApp extends StatelessWidget {
), ),
body: Column( body: Column(
children: [ children: [
Icon(Icons.scale), Text("Body Mass"), // I would like icon to be in the same row as text; ai! Row(
children: [
Icon(Icons.scale),
Text("Body Mass"),
],
),
Text("Fat Pct"), Text("Fat Pct"),
Text("Daily Caloric Norm"), Text("Daily Caloric Norm"),
], ],