SettingsTile<T> constructor

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

Implementation

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