RememberMeCheckbox constructor

const RememberMeCheckbox({
  1. Key? key,
  2. required bool isChecked,
  3. required ValueChanged<bool> onChanged,
})

Creates a RememberMeCheckbox widget.

  • isChecked controls the state of the checkbox.
  • onChanged is called when the checkbox is toggled.

Implementation

const RememberMeCheckbox({
  Key? key,
  required this.isChecked,
  required this.onChanged,
}) : super(key: key);