Control.checkBox constructor
Implementation
factory Control.checkBox({
required String key,
String? description,
String? title,
void Function(dynamic)? onChange,
bool? value,
Widget? prefixIcon,
}) =>
Control(
title: title ?? '',
description: description,
value: value ?? false,
onChange: onChange,
key: key,
type: ControlType.checkBox,
prefixIcon: prefixIcon,
);