Widget _buildButtonNumberBadge(BuildContext context) { return Container( alignment: Alignment.bottomLeft, margin: const EdgeInsets.only(left: 16), child: SizedBox( width: 86, height: 54, child: Stack( alignment: Alignment.bottomLeft, children: [ TDButton( width: 80, height: 48, text: '按钮', size: TDButtonSize.large, ), Positioned( child: TDBadge( TDBadgeType.message, count: '8', ), right: 0, top: 0, ) ], ), )); }