Checkbox constructor

Checkbox({
  1. bool value = false,
  2. void onChanged(
    1. bool
    )?,
  3. String tag = "input",
  4. Map<String, String>? attributes = const {"type" : "checkbox"},
  5. String? id,
  6. Map<String, dynamic>? style,
  7. String? className,
})

Implementation

Checkbox(
    {this.value = false,
    this.onChanged,
    super.tag = "input",
    super.attributes = const {
      "type": "checkbox",
    },
    super.id,
    super.style,
    super.className});