const
PopupMenuButton(- {Key? key,
- required List<PopupMenuEntry> items,
- String? initialValue,
- Callback? onOpened,
- FormStringField? field,
- Callback? onCanceled,
- String? tooltip,
- double? elevation,
- Color? shadowColor,
- Color? surfaceTintColor,
- EdgeInsets padding,
- Widget? child,
- double? splashRadius,
- Widget? icon,
- double? iconSize,
- Offset offset,
- bool enabled,
- ShapeBorder? shape,
- Color? color,
- bool? enableFeedback,
- BoxConstraints? constraints,
- PopupMenuPosition? position,
- Clip clipBehavior}
)
Implementation
const factory PopupMenuButton(
{final Key? key,
required final List<PopupMenuEntry> items,
final String? initialValue,
final Callback? onOpened,
final FormStringField? field,
final Callback? onCanceled,
final String? tooltip,
final double? elevation,
final Color? shadowColor,
final Color? surfaceTintColor,
final EdgeInsets padding,
final Widget? child,
final double? splashRadius,
final Widget? icon,
final double? iconSize,
final Offset offset,
final bool enabled,
final ShapeBorder? shape,
final Color? color,
final bool? enableFeedback,
final BoxConstraints? constraints,
final PopupMenuPosition? position,
final Clip clipBehavior}) = _$PopupMenuButton;