SettingsTile.navigation constructor

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

Implementation

SettingsTile.navigation({
  this.leading,
  this.trailing,
  this.value,
  required this.title,
  this.description,
  this.onPressed,
  this.enabled = true,
  Key? key,
}) : super(key: key) {
  onToggle = null;
  initialValue = null;
  activeSwitchColor = null;
  tileType = SettingsTileType.navigationTile;
}