NextAlert constructor

const NextAlert({
  1. Key? key,
  2. bool visible = true,
  3. BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(4)),
  4. Widget? trailing,
  5. Widget? heading,
  6. void onClosedIconPressed()?,
  7. NextVariant variant = NextVariant.primary,
  8. TextStyle? textStyle,
  9. double verticalHeadingSpace = 10.0,
  10. TextStyle? headingTextStyle,
  11. NextAlertColorUtils? customConfigs,
  12. EdgeInsetsGeometry? margin,
  13. EdgeInsetsGeometry? padding,
  14. Widget? child,
  15. Widget transitionBuilder(
    1. Widget,
    2. Animation<double>
    )?,
})

Construct NextAlert

Implementation

const NextAlert(
    {Key? key,
    this.visible = true,
    this.borderRadius = const BorderRadius.all(Radius.circular(4)),
    this.trailing,
    this.heading,
    this.onClosedIconPressed,
    this.variant = NextVariant.primary,
    this.textStyle,
    this.verticalHeadingSpace = 10.0,
    this.headingTextStyle,
    this.customConfigs,
    this.margin,
    this.padding,
    this.child,
    this.transitionBuilder})
    : super(key: key);