DropdownAlert constructor

const DropdownAlert({
  1. Key? key,
  2. VoidCallBack? onTap,
  3. String? successImage,
  4. String? warningImage,
  5. String? errorImage,
  6. Color? errorBackground,
  7. Color? successBackground,
  8. Color? warningBackground,
  9. String? closeImage,
  10. TextStyle? titleStyle,
  11. TextStyle? contentStyle,
  12. int? maxLinesTitle,
  13. int? maxLinesContent,
  14. int? duration,
  15. int? delayDismiss,
  16. bool avoidBottomInset = false,
  17. bool? showCloseButton,
  18. 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);