Widget _buildVerticalButtonDouble(BuildContext context) { return TDButton( text: '两个纵向基础按钮', size: TDButtonSize.large, type: TDButtonType.outline, theme: TDButtonTheme.primary, onTap: () { showGeneralDialog( context: context, pageBuilder: (BuildContext buildContext, Animation animation, Animation secondaryAnimation) { return TDAlertDialog.vertical( title: _dialogTitle, content: _commonContent, buttons: [ TDDialogButtonOptions( title: '主要按钮', action: () { Navigator.pop(context); }, theme: TDButtonTheme.primary), TDDialogButtonOptions( title: '次要按钮', titleColor: TDTheme.of(context).brandColor7, action: () { Navigator.pop(context); }, theme: TDButtonTheme.light), ]); }, ); }, ); }