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