FitSettingItem constructor

const FitSettingItem({
  1. Key? key,
  2. required String title,
  3. String subtitle = "",
  4. void onTap()?,
  5. bool danger = false,
  6. bool locked = false,
  7. Widget? leading,
  8. Widget? trailing,
})

Creates a new settingItem.

Implementation

const FitSettingItem(
    {super.key,
    required this.title,
    this.subtitle = "",
    this.onTap,
    this.danger = false,
    this.locked = false,
    this.leading,
    this.trailing});