SheetAction constructor

SheetAction({
  1. required String text,
  2. required VoidCallback onPressed,
  3. bool defaultAction = false,
  4. bool isCancel = false,
  5. bool hasArrow = false,
})

Construction of an ActionSheetAction

Implementation

SheetAction({
  required this.text,
  required this.onPressed,
  this.defaultAction = false,
  this.isCancel = false,
  this.hasArrow = false,
});