DropdownAlert constructor
const
DropdownAlert({
- Key? key,
- VoidCallBack? onTap,
- String? successImage,
- String? warningImage,
- String? errorImage,
- Color? errorBackground,
- Color? successBackground,
- Color? warningBackground,
- String? closeImage,
- TextStyle? titleStyle,
- TextStyle? contentStyle,
- int? maxLinesTitle,
- int? maxLinesContent,
- int? duration,
- int? delayDismiss,
- bool avoidBottomInset = false,
- bool? showCloseButton,
- AlertPosition? position = AlertPosition.TOP,
Implementation
const DropdownAlert(
{Key? key,
this.onTap,
this.successImage,
this.warningImage,
this.errorImage,
this.errorBackground,
this.successBackground,
this.warningBackground,
this.closeImage,
this.titleStyle,
this.contentStyle,
this.maxLinesTitle,
this.maxLinesContent,
this.duration,
this.delayDismiss,
this.avoidBottomInset = false,
this.showCloseButton,
this.position = AlertPosition.TOP})
: super(key: key);