RadioItem<T> constructor
- required Widget child,
- required T value,
- VoidCallback? onTap,
Creates an item for a radio menu.
The child argument is required.
Implementation
const RadioItem({
required this.child,
required this.value,
this.onTap,
});