RadioItem<T> constructor

const RadioItem<T>({
  1. required Widget child,
  2. required T value,
  3. 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,
});