custom_radio_grouped_button

Custom Flutter widgets that makes Checkbox and Radio Buttons much cleaner and easier.

Installing

Add the following to your pubspec.yaml file:

dependencies:
  custom_radio_grouped_button: any

Creating Radio Button

CustomRadioButton(
buttonColor: Theme.of(context).canvasColor,
buttonLables: [
   "Student",
   "Parent/Teacher",
  ],
buttonValues: [
   "STUDENT",
   "TEACHER",
  ],
radioButtonValue: (value) => print(value),
selectedColor: Theme.of(context).accentColor,
);

Creating Grouped Button

CustomCheckBoxGroup(
buttonColor: Theme.of(context).canvasColor,
buttonLables: [
  "Monday",
  "Tuesday",
  "Wednesday",
  "Thursday",
],
buttonValuesList: [
  "Monday",
  "Tuesday",
  "Wednesday",
  "Thursday",
],
checkBoxButtonValues: (values) => print(values),
defaultSelected: "Monday",
horizontal: true,
width: 120,
selectedColor: Theme.o.accentColor,
padding: 5,
);

Screenshots

RadioButton

GroupButton

GitHub

https://github.com/ketanchoyal/custom_radio_grouped_button