Widget _buildCustomBadge(BuildContext context) { return Padding( padding: const EdgeInsets.only(left: 16), child: Row( children: [ SizedBox( width: 64, height: 56, child: Stack( alignment: Alignment.bottomLeft, children: [ Container( child: const Icon(TDIcons.notification), decoration: BoxDecoration( color: TDTheme.of(context).grayColor2, borderRadius: BorderRadius.circular( TDTheme.of(context).radiusDefault)), height: 48, width: 48, ), const Positioned( child: TDBadge( TDBadgeType.message, count: '8', ), right: 0, top: 0, ) ], ), ), const SizedBox(width: 40), SizedBox( width: 64, height: 56, child: Stack( alignment: Alignment.bottomLeft, children: [ Container( child: const Icon(TDIcons.notification), decoration: BoxDecoration( color: TDTheme.of(context).grayColor2, borderRadius: BorderRadius.circular( TDTheme.of(context).radiusDefault)), height: 48, width: 48, ), const Positioned( child: TDBadge( TDBadgeType.message, count: '0', ), right: 0, top: 0, ) ], ), ), const SizedBox(width: 40), SizedBox( width: 64, height: 56, child: Stack( alignment: Alignment.bottomLeft, children: [ Container( child: const Icon(TDIcons.notification), decoration: BoxDecoration( color: TDTheme.of(context).grayColor2, borderRadius: BorderRadius.circular( TDTheme.of(context).radiusDefault)), height: 48, width: 48, ), const Positioned( child: TDBadge( TDBadgeType.message, count: '0', showZero: false, ), right: 0, top: 0, ) ], ), ), ], ), ); }