Skip to content

Commit

Permalink
fix: removed flexible from stack
Browse files Browse the repository at this point in the history
  • Loading branch information
DE7924 committed Nov 4, 2024
1 parent 30c6e3d commit d7b62d5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lib/src/components/banner/banner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
),
),
Expand Down

0 comments on commit d7b62d5

Please sign in to comment.