ToggleCheckListButton constructor Null safety

const ToggleCheckListButton(
  1. {required IconData icon,
  2. required QuillController controller,
  3. required Attribute attribute,
  4. double iconSize = kDefaultIconSize,
  5. Color? fillColor,
  6. ToggleStyleButtonBuilder childBuilder = defaultToggleStyleButtonBuilder,
  7. QuillIconTheme? iconTheme,
  8. Key? key}
)

Implementation

const ToggleCheckListButton({
  required this.icon,
  required this.controller,
  required this.attribute,
  this.iconSize = kDefaultIconSize,
  this.fillColor,
  this.childBuilder = defaultToggleStyleButtonBuilder,
  this.iconTheme,
  Key? key,
}) : super(key: key);