TDImageDialog constructor

const TDImageDialog({
  1. Key? key,
  2. required Image image,
  3. TDDialogImagePosition? imagePosition = TDDialogImagePosition.top,
  4. Color backgroundColor = Colors.white,
  5. double radius = 12.0,
  6. String? title,
  7. Color titleColor = const Color(0xE6000000),
  8. String? content,
  9. Color? contentColor,
  10. TDDialogButtonOptions? leftBtn,
  11. TDDialogButtonOptions? rightBtn,
  12. 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);