SmoothPopupMenuButton<T> constructor

const SmoothPopupMenuButton<T>({
  1. required void onSelected(
    1. T value
    ),
  2. required Iterable<SmoothPopupMenuItem<T>> itemBuilder(
    1. BuildContext context
    ),
  3. String? actionsTitle,
  4. Icon? buttonIcon,
  5. String? buttonLabel,
})

Implementation

const SmoothPopupMenuButton({
  required this.onSelected,
  required this.itemBuilder,
  this.actionsTitle,
  this.buttonIcon,
  this.buttonLabel,
}) : assert(buttonLabel == null || buttonLabel.length > 0),
     assert(actionsTitle == null || actionsTitle.length > 0);