NsgCheckBox constructor

const NsgCheckBox({
  1. Key? key,
  2. bool toggleInside = false,
  3. String validateText = '',
  4. required String label,
  5. bool disabled = false,
  6. bool radio = false,
  7. required bool value,
  8. double? height = 44,
  9. double? width,
  10. required dynamic onPressed(
    1. bool currentValue
    ),
  11. EdgeInsets margin = const EdgeInsets.fromLTRB(0, 0, 0, 10),
  12. bool simple = false,
  13. Color? checkColor,
})

Implementation

const NsgCheckBox(
    {Key? key,
    this.toggleInside = false,
    this.validateText = '',
    required this.label,
    this.disabled = false,
    this.radio = false,
    required this.value,
    this.height = 44,
    this.width,
    required this.onPressed,
    this.margin = const EdgeInsets.fromLTRB(0, 0, 0, 10),
    this.simple = false,
    this.checkColor})
    : super(key: key);