RadioMenuButton<T> constructor
- Key? key,
- required T value,
- required T? groupValue,
- required ValueChanged<
T?> ? onChanged, - bool toggleable = false,
- ValueChanged<
bool> ? onHover, - ValueChanged<
bool> ? onFocusChange, - FocusNode? focusNode,
- MenuSerializableShortcut? shortcut,
- ButtonStyle? style,
- MaterialStatesController? statesController,
- Clip clipBehavior = Clip.none,
- Widget? trailingIcon,
- bool closeOnActivate = true,
- required Widget? child,
Creates a const RadioMenuButton.
The child
attribute is required.
Implementation
const RadioMenuButton({
super.key,
required this.value,
required this.groupValue,
required this.onChanged,
this.toggleable = false,
this.onHover,
this.onFocusChange,
this.focusNode,
this.shortcut,
this.style,
this.statesController,
this.clipBehavior = Clip.none,
this.trailingIcon,
this.closeOnActivate = true,
required this.child,
});