From 5db19217ff89378bd35c6fda97bf422481a2490f Mon Sep 17 00:00:00 2001 From: kfj001 Date: Wed, 29 Apr 2026 16:08:33 -0700 Subject: [PATCH] minor cosmetic improvement to browser space Co-authored-by: Copilot --- lib/main.dart | 51 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 2f9ecd0..898ea29 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -106,13 +106,60 @@ class _MainPageState extends State { child: Container( width: double.infinity, decoration: BoxDecoration( - border: Border.all(color: themeColors.webViewBorder, width: 2), + border: Border.all( + color: themeColors.webViewBorder, + width: 2, + ), borderRadius: BorderRadius.circular(8), color: themeColors.webViewBackground, ), child: ClipRRect( borderRadius: BorderRadius.circular(6), - child: WebViewWidget(controller: _webViewController), + child: Column( + children: [ + Container( + width: double.infinity, + padding: const EdgeInsets.symmetric( + horizontal: 12, + vertical: 8, + ), + decoration: BoxDecoration( + border: Border( + bottom: BorderSide( + color: themeColors.webViewBorder, + ), + ), + ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, + children: [ + Text( + 'Station Information', + style: Theme.of(context).textTheme.labelMedium + ?.copyWith( + color: themeColors.statusTextr, + fontWeight: FontWeight.w700, + ), + ), + const SizedBox(height: 2), + Text( + 'https://kryzradio.org', + style: Theme.of(context).textTheme.labelMedium + ?.copyWith( + color: Colors.blue, + decoration: TextDecoration.underline, + decorationColor: Colors.blue, + ), + ), + ], + ), + ), + Expanded( + child: WebViewWidget(controller: _webViewController), + ), + ], + ), ), ), ),