Skip to content

Commit

Permalink
Merge pull request #155 from pye52/master
Browse files Browse the repository at this point in the history
Fix the overflow issue of 'Talker Monitor'.
  • Loading branch information
Frezyx authored Oct 24, 2023
2 parents b2e99f7 + 96544ca commit d9c6866
Showing 1 changed file with 30 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,33 +31,37 @@ class TalkerMonitorCard extends StatelessWidget {
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Row(
children: [
Icon(icon, color: color),
const SizedBox(width: 10),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
title,
style: TextStyle(
color: color,
fontSize: 16,
fontWeight: FontWeight.w700,
),
),
if (subtitle != null)
Text(
subtitle!,
style: const TextStyle(
color: Colors.white,
fontSize: 14,
Flexible(
child: Row(
children: [
Icon(icon, color: color),
const SizedBox(width: 10),
Flexible(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
title,
style: TextStyle(
color: color,
fontSize: 16,
fontWeight: FontWeight.w700,
),
),
),
if (subtitleWidget != null) subtitleWidget!
],
),
],
if (subtitle != null)
Text(
subtitle!,
style: const TextStyle(
color: Colors.white,
fontSize: 14,
),
),
if (subtitleWidget != null) subtitleWidget!
],
),
),
],
),
),
if (onTap != null)
Icon(Icons.arrow_forward_ios_rounded, color: color),
Expand Down

0 comments on commit d9c6866

Please sign in to comment.