SettingsTile<T>.checkboxTile constructor

SettingsTile<T>.checkboxTile({
  1. required bool? initialValue,
  2. required dynamic onToggle(
    1. bool?
    )?,
  3. Widget? leading,
  4. Widget? trailing,
  5. required Widget title,
  6. Widget? description,
  7. bool enabled = true,
  8. Key? key,
})

Implementation

SettingsTile.checkboxTile({
  required this.initialValue,
  required this.onToggle,
  this.leading,
  this.trailing,
  required this.title,
  this.description,
  this.enabled = true,
  super.key,
}) {
  onPressed = null;
  onChanged = null;
  value = null;
  tileType = SettingsTileType.checkboxTile;
}