NsgCheckBox constructor
const
NsgCheckBox({
- Key? key,
- bool toggleInside = false,
- String validateText = '',
- required String label,
- bool disabled = false,
- bool radio = false,
- required bool value,
- double? height = 44,
- double? width,
- required dynamic onPressed(
- bool currentValue
- EdgeInsets margin = const EdgeInsets.fromLTRB(0, 0, 0, 10),
- bool simple = false,
- 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);