Skip to content
pubscout

group_radio_button

1.3.0, released 4 years ago by an unverified publisher

Flutter library to create radio button groups and radio buttons with labels.

WASM-ready
$ flutter pub add group_radio_button
Source repository

What it does

Provides single RadioButton and RadioButtonGroup widgets to display options with text descriptions and labels. Simplifies managing group selection state and custom item styling.

AI-written summary of version 1.3.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display a group of radio buttons with labels in a Flutter form.
  • You want a simple way to manage selected values among multiple options.

Skip it when

  • You need complex form validation or form builder integration not covered by basic state management.

Strengths

  • Easy to use with a builder pattern for radio groups.
  • Supports customizable text styles and selection colors.

Weaknesses

  • Limited advanced features documented beyond basic radio group creation.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
RadioGroup<String>.builder(
  groupValue: _verticalGroupValue,
  onChanged: (value) => setState(() {
    _verticalGroupValue = value;
  }),
  items: _status,
  itemBuilder: (item) => RadioButtonBuilder(
    item,
  ),
),

Alternatives

Packages that do the same job and could replace group_radio_button.