Fix render overflow of text in notification widget (#1064)
This commit is contained in:
commit
a12ed75f12
1 changed files with 18 additions and 16 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue