BasfCheckbox constructor

const BasfCheckbox({
  1. Key? key,
  2. required bool value,
  3. required dynamic onChanged(
    1. bool
    ),
  4. String? text,
  5. bool reverse = false,
  6. MainAxisAlignment alignment = MainAxisAlignment.start,
  7. Color? inactiveColor,
  8. Color? color,
  9. Color? activeSplashColor,
  10. Color? inactiveSplashColor,
  11. IconData? icon,
  12. Color? iconColor,
})

Implementation

const BasfCheckbox({
  Key? key,
  required this.value,
  required this.onChanged,
  this.text,
  this.reverse = false,
  this.alignment = MainAxisAlignment.start,
  this.inactiveColor,
  this.color,
  this.activeSplashColor,
  this.inactiveSplashColor,
  this.icon,
  this.iconColor,
}) : super(key: key);