SelfStoringCheckbox<K> constructor

SelfStoringCheckbox<K>(
  1. K itemKey, {
  2. Key? key,
  3. dynamic saver,
  4. dynamic overlayController,
  5. bool tristate = true,
  6. Widget? title,
  7. SelfStoringCheckboxStyle style = const SelfStoringCheckboxStyle(),
})

Implementation

SelfStoringCheckbox(
  this.itemKey, {
  Key? key,
  saver,
  overlayController,
  this.tristate = true,
  Widget? title,
  this.style = const SelfStoringCheckboxStyle(),
})  : overlayController = overlayController ?? OverlayController(),
      this.title = title ?? Container(width: 0, height: 0),
      this.saver = saver ?? NoOpSaver<K>(),
      super(key: key);