From d7b62d51e9c382481e0ef4e3041ad7ebd34f9ac2 Mon Sep 17 00:00:00 2001 From: Daniel Eshkeri Date: Mon, 4 Nov 2024 15:30:08 +0000 Subject: [PATCH] fix: removed flexible from stack --- lib/src/components/banner/banner.dart | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/src/components/banner/banner.dart b/lib/src/components/banner/banner.dart index f31d1070..063487cd 100644 --- a/lib/src/components/banner/banner.dart +++ b/lib/src/components/banner/banner.dart @@ -112,12 +112,10 @@ class ZetaBanner extends MaterialBanner { Padding( padding: !_titleCenter && leadingIcon != null ? const EdgeInsets.only(left: 40) : EdgeInsets.zero, - child: Flexible( - child: Text( - title, - style: ZetaTextStyles.labelLarge.copyWith( - color: Zeta.of(context).colors.textInverse, - ), + child: Text( + title, + style: ZetaTextStyles.labelLarge.copyWith( + color: Zeta.of(context).colors.textInverse, ), ), ),