MenuRadio<T> constructor
const
MenuRadio<T> ({})
Creates a radio button menu item.
Must be a child of MenuRadioGroup.
Parameters:
value(T, required): Value for this optionchild(Widget, required): Display contenttrailing(Widget?): Optional trailing widgetfocusNode(FocusNode?): Focus node for navigationenabled(bool): Whether enabled, defaults to trueautoClose(bool): Whether to auto-close menu, defaults to true
Implementation
const MenuRadio({
super.key,
required this.value,
required this.child,
this.trailing,
this.focusNode,
this.enabled = true,
this.autoClose = true,
});