SmoothPopupMenuItem<T> constructor

const SmoothPopupMenuItem<T>({
  1. required T value,
  2. required String label,
  3. Widget? icon,
  4. bool enabled = true,
})

Implementation

const SmoothPopupMenuItem({
  required this.value,
  required this.label,
  this.icon,
  this.enabled = true,
}) : assert(label.length > 0);