feat: align icon and text in same row
This commit is contained in:
@ -19,9 +19,14 @@ 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(
|
||||||
Text("Fat Pct"),
|
children: [
|
||||||
Text("Daily Caloric Norm"),
|
Icon(Icons.scale),
|
||||||
|
Text("Body Mass"),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
Text("Fat Pct"),
|
||||||
|
Text("Daily Caloric Norm"),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user