From c2786511f316e4895cdce2bb8cefaba88ad93d91 Mon Sep 17 00:00:00 2001 From: "Grail Finder (aider)" Date: Sat, 19 Apr 2025 13:02:34 +0300 Subject: [PATCH] feat: align icon and text in same row --- lib/main.dart | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 19776f7..ba8d2af 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -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"), ], ), )