TDImageDialog constructor
const
TDImageDialog({
- Key? key,
- required Image image,
- TDDialogImagePosition? imagePosition = TDDialogImagePosition.top,
- Color backgroundColor = Colors.white,
- double radius = 12.0,
- String? title,
- Color titleColor = const Color(0xE6000000),
- String? content,
- Color? contentColor,
- TDDialogButtonOptions? leftBtn,
- TDDialogButtonOptions? rightBtn,
- bool? showCloseButton,
Implementation
const TDImageDialog({
Key? key,
required this.image,
this.imagePosition = TDDialogImagePosition.top,
this.backgroundColor = Colors.white,
this.radius = 12.0,
this.title,
this.titleColor = const Color(0xE6000000),
this.content,
this.contentColor,
this.leftBtn,
this.rightBtn,
this.showCloseButton,
}) : super(key: key);