RadioOptionBuilder typedef

RadioOptionBuilder = Widget Function(BuildContext context, bool checked, Widget content, CheckboxStyle style)

Builds the widget for a radio option and its label.

selected is the state parsed from the source, content is the rendered label, and style is the resolved CheckboxStyle.

Implementation

typedef RadioOptionBuilder =
    Widget Function(
      BuildContext context,
      bool selected,
      Widget content,
      CheckboxStyle style,
    );