Skip to content

Checkbox ​

Toggle selection with label support.

Installation ​

bash
bricolage_ui add checkbox
bash
flutter pub add bricolage_ui

Usage ​

dart
CustomCheckbox(
  label: 'Accept terms and conditions',
  value: isAccepted,
  onChanged: (value) {
    setState(() {
      isAccepted = value ?? false;
    });
  },
)

API Reference ​

Properties ​

PropertyTypeDefaultDescription
valueboolrequiredCurrent checked state
onChangedValueChanged?nullCallback when state changes