NUISnackItem constructor

NUISnackItem({
  1. String? id,
  2. required Widget content,
  3. SnackBarAction? action,
  4. Duration? duration,
  5. Color? backgroundColor,
  6. double elevation = 0,
})

Implementation

NUISnackItem({
  String? id,
  required this.content,
  this.action,
  this.duration,
  this.backgroundColor,
  this.elevation = 0
}){
  this.id = id ?? randomUUID();
}