Widget _buildImageMiddle(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 TDImageDialog( image: _demoImage, title: _dialogTitle, content: _commonContent, imagePosition: TDDialogImagePosition.middle, ); }, ); }, ); }