FLCupertinoOperationSheetItem constructor

FLCupertinoOperationSheetItem({
  1. Key? key,
  2. String? imagePath,
  3. String? highlightImagePath,
  4. String? title,
  5. VoidCallback? onPressed,
  6. Widget? customChild,
})

Implementation

FLCupertinoOperationSheetItem({
  Key? key,
  this.imagePath,
  this.highlightImagePath,
  this.title,
  this.onPressed,
  this.customChild,
})  : assert((imagePath != null && title != null && onPressed != null) ||
          customChild != null),
      super(key: key);