DialogWidget constructor
DialogWidget({
- Key? key,
- String? title,
- String? msg,
- List<
Widget> ? actions, - LottieBuilder? animationBuilder,
- Widget customView = const SizedBox(),
- CustomViewPosition customViewPosition = CustomViewPosition.BEFORE_TITLE,
- TextStyle? titleStyle,
- TextStyle? msgStyle,
- TextAlign? titleAlign,
- TextAlign? msgAlign,
- double? dialogWidth,
- 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,
});