AlertComponentOptions constructor

AlertComponentOptions(
  1. {required bool visible,
  2. required String message,
  3. String type = 'success',
  4. int duration = 3000,
  5. required Function onHide,
  6. Color textColor = Colors.black}
)

Implementation

AlertComponentOptions({
  required this.visible,
  required this.message,
  this.type = 'success',
  this.duration = 3000,
  required this.onHide,
  this.textColor = Colors.black,
});