Widget _buildLargeBadge(BuildContext context) { return Padding( padding: const EdgeInsets.only(left: 16), child: Row( children: [ SizedBox( width: 68, height: 65.5, child: Stack( alignment: Alignment.bottomLeft, children: const [ TDAvatar( size: TDAvatarSize.large, type: TDAvatarType.icon, ), Positioned( child: TDBadge( TDBadgeType.message, size: TDBadgeSize.large, count: '8', ), right: 0, top: 0, ) ], ), ), ], ), ); }