Fix render overflow of text in notification widget (#1064)

This commit is contained in:
Ashil 2023-05-04 13:54:55 +05:30 committed by GitHub
commit a12ed75f12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,22 +73,24 @@ class NotificationWidget extends StatelessWidget {
color: Colors.white,
),
const SizedBox(width: 12),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
text,
style: darkTextTheme.bodyBold,
textAlign: TextAlign.left,
),
subText != null
? Text(
subText!,
style: darkTextTheme.mini
.copyWith(color: textMutedDark),
)
: const SizedBox.shrink(),
],
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
text,
style: darkTextTheme.bodyBold,
textAlign: TextAlign.left,
),
subText != null
? Text(
subText!,
style: darkTextTheme.mini
.copyWith(color: textMutedDark),
)
: const SizedBox.shrink(),
],
),
),
const SizedBox(width: 12),
IconButtonWidget(