From 94ae3434e476fc2332aa500ef46805d23f61ae53 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Thu, 30 Dec 2021 13:36:12 +0100 Subject: [PATCH] Adapt banner to large screens --- lib/ui/widgets/banner_widget.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ui/widgets/banner_widget.dart b/lib/ui/widgets/banner_widget.dart index 70e753e..4351801 100644 --- a/lib/ui/widgets/banner_widget.dart +++ b/lib/ui/widgets/banner_widget.dart @@ -69,7 +69,7 @@ class _BannerWidgetState extends State { : Icons.warning, ), ), - Flexible( + Expanded( child: Text( banner.message.containsKey(shortLang) ? banner.message[shortLang] @@ -105,6 +105,7 @@ class BannerButton extends StatelessWidget { return IconButton( onPressed: onPressed, icon: icon, + color: Colors.white, disabledColor: Colors.white, padding: EdgeInsets.all(1.0), );