DialogWidget constructor

DialogWidget({
  1. Key? key,
  2. String? title,
  3. String? msg,
  4. List<Widget>? actions,
  5. LottieBuilder? animationBuilder,
  6. Widget customView = const SizedBox(),
  7. CustomViewPosition customViewPosition = CustomViewPosition.BEFORE_TITLE,
  8. TextStyle? titleStyle,
  9. TextStyle? msgStyle,
  10. TextAlign? titleAlign,
  11. TextAlign? msgAlign,
  12. double? dialogWidth,
  13. Color? color,
})

Implementation

DialogWidget({
  Key? key,
  this.title,
  this.msg,
  this.actions,
  this.animationBuilder,
  this.customView = const SizedBox(),
  this.customViewPosition = CustomViewPosition.BEFORE_TITLE,
  this.titleStyle,
  this.msgStyle,
  this.titleAlign,
  this.msgAlign,
  this.dialogWidth,
  this.color,
});