CustomBottomsheet constructor

const CustomBottomsheet({
  1. Key? key,
  2. String? title,
  3. Widget? trailing,
  4. Widget? leading,
  5. required Widget child,
  6. double? maxHeight,
  7. Color? bgColor,
  8. Color? hintColor,
  9. EdgeInsets? padding,
  10. VoidCallback? onDeletePressed,
  11. VoidCallback? onEditPressed,
  12. VoidCallback? onReportPressed,
  13. Widget? header,
  14. List<Widget>? items,
})

Implementation

const CustomBottomsheet({
  super.key,
  this.title,
  this.trailing,
  this.leading,
  required this.child,
  this.maxHeight,
  this.bgColor,
  this.hintColor,
  this.padding,
  this.onDeletePressed,
  this.onEditPressed,
  this.onReportPressed,
  this.header,
  this.items,
});