apptomate_custom_checkbox 0.0.1
apptomate_custom_checkbox: ^0.0.1 copied to clipboard
A customizable checkbox widget for Flutter that allows you to define custom check icons, colors, and styles.
apptomate_custom_checkbox #
A customizable checkbox widget for Flutter that allows you to define custom check icons, colors, and styles.
🚀 Features #
✔️ Customizable checked and unchecked widgets
✔️ Changeable active and check colors
✔️ Adjustable size and border radius
✔️ Supports onChanged callback for state management
📲 Installation #
Add the dependency to your pubspec.yaml:
dependencies:
apptomate_custom_checkbox: ^0.0.1
Basic Example #
CustomCheckbox(
value: isChecked,
onChanged: (newValue) {
setState(() {
isChecked = newValue;
});
},
label: "Subscribe to Newsletter",
activeColor: Colors.green,
borderRadius: 0,
padding: EdgeInsets.symmetric(vertical: 10, horizontal: 15),
)