CheckboxButton.rich constructor

const CheckboxButton.rich({
  1. Key? key,
  2. bool value = false,
  3. void onPressed(
    1. bool s
    )?,
  4. required TextSpan? span,
})

Builds a CheckboxButton from the TextSpan.

Implementation

const CheckboxButton.rich({
  super.key,
  this.value = false,
  this.onPressed,
  required this.span,
}) : label = null;