Read page as text

NIB / PLAYGROUND

Radio group playground — NibComponents

Try radio group in Flutter. Choose exactly one option with native-style arrow-key selection.

Open interactive view

Choose exactly one option with native-style arrow-key selection.

Read the full component guide and API

Public widgets and APIs

  • NibRadioGroup
  • NibRadioOption
  • NibRadioOptionBuilder

Example Dart code

NibRadioGroup<String>(
  options: const [NibRadioOption(value: 'daily', label: 'Daily'),
    NibRadioOption(value: 'weekly', label: 'Weekly')],
  value: frequency, onChanged: (next) => setState(() => frequency = next),
)

Playground controls

ControlTypeOptions or rangeHelp
Animate feedbacktoggle
Disabledtoggle
Vertical layouttoggle
Option presentationchoicedefault, cards