SelectionModel<T>.radio constructor

SelectionModel<T>.radio(
  1. T selected
)

Creates a single-selection model that always has a value selected.

Implementation

factory SelectionModel.radio(T selected) =>
    RadioGroupSingleSelectionModel<T>(selected);