NUIBottomSheetItem constructor

NUIBottomSheetItem({
  1. String? id,
  2. bool dismissible = true,
  3. Color? barrierColor,
  4. double opacity = 0.4,
  5. required BottomSheetBuilder content,
  6. double elevation = 0,
  7. Function? onDismiss,
})

Implementation

NUIBottomSheetItem({
  String? id,
  this.dismissible = true,
  this.barrierColor,
  this.opacity = 0.4,
  required this.content,
  this.elevation = 0,
  this.onDismiss
}){
  this.id = id ?? randomUUID();
}