ActionSheet constructor

const ActionSheet({
  1. Key? key,
  2. List<ActionSheetItem>? actions,
  3. String? title,
  4. String? cancelText,
  5. String? description,
  6. bool round = true,
  7. IconData? closeIcon,
  8. bool closeOnClickOverlay = true,
  9. dynamic onSelect(
    1. ActionSheetItem actionSheetItem,
    2. int index,
    3. BuildContext context
    )?,
  10. dynamic onCancel()?,
  11. dynamic onClose()?,
  12. Widget? child,
})

Implementation

const ActionSheet(
    {Key? key,
    this.actions,
    this.title,
    this.cancelText,
    this.description,
    this.round: true,
    this.closeIcon,
    this.closeOnClickOverlay: true,
    this.onSelect,
    this.onCancel,
    this.onClose,
    this.child});