group_radio_button 1.0.1 group_radio_button: ^1.0.1 copied to clipboard
Flutter librity to create radio groups and radio button with labels.
Radio button group #
Flutter libriry to create radio groups and radio button with labels.
RadioButton #
RadioButton(
description: "Text alignment right",
value: "Text alignment right",
groupValue: _singleValue,
onChanged: (value) => setState(
() => _singleValue = value,
),
),
RadioButtonGroup #
RadioGroup<String>.builder(
groupValue: _verticalGroupValue,
onChanged: (value) => setState(() {
_verticalGroupValue = value;
}),
items: _status,
itemBuilder: (item) => RadioButtonBuilder(
item,
),
),