Skip to content

RyosukeOK/custom_radio_grouped_button

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

custom_radio_grouped_button

Pub

Custom Radio Buttons and Grouped Check Box Button

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

Breaking Changes:

From Version 1.0.2

buttonColor is now unSelectedColor

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

Grouped Button

Grouped Button

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 92.9%
  • Shell 2.5%
  • Ruby 2.3%
  • Swift 1.2%
  • Other 1.1%