SettingsTile constructor

const SettingsTile({
  1. Key? key,
  2. required String title,
  3. IconData? icon,
  4. Color? iconBackground,
  5. String? subtitle,
  6. Widget? trailing,
  7. VoidCallback? onTap,
  8. bool enabled = true,
})

Implementation

const SettingsTile({
  super.key,
  required this.title,
  this.icon,
  this.iconBackground,
  this.subtitle,
  this.trailing,
  this.onTap,
  this.enabled = true,
});