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,9 +19,14 @@ class TheApp extends StatelessWidget {
),
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"),
Row(
children: [
Icon(Icons.scale),
Text("Body Mass"),
],
),
Text("Fat Pct"),
Text("Daily Caloric Norm"),
],
),
)