PopupMenusItem<T> constructor

const PopupMenusItem<T>({
  1. Key? key,
  2. T? value,
  3. VoidCallback? onTap,
  4. bool enabled = true,
  5. double height = kMinInteractiveDimension,
  6. EdgeInsets? padding,
  7. TextStyle? textStyle,
  8. MouseCursor? mouseCursor,
  9. required Widget? child,
})

Implementation

const PopupMenusItem({
  Key? key,
  this.value,
  this.onTap,
  this.enabled = true,
  this.height = kMinInteractiveDimension,
  this.padding,
  this.textStyle,
  this.mouseCursor,
  required this.child,
})  : assert(enabled != null),
      assert(height != null),
      super(key: key);