SettingItem<T> constructor

const SettingItem<T>({
  1. String? elementKey,
  2. required SettingItemType type,
  3. required String title,
  4. List<Object?> tags = const [],
  5. String tagToDisplayText(
    1. Object? tag
    )?,
  6. ValueListenable<bool>? switchListenable,
  7. ValueChanged<bool>? onSwitchChanged,
  8. ValueListenable<Object?>? selectedTagListenable,
  9. ValueChanged<Object?>? onTagTap,
})

Implementation

const SettingItem({
  this.elementKey,
  required this.type,
  required this.title,
  this.tags = const [],
  this.tagToDisplayText,
  this.switchListenable,
  this.onSwitchChanged,
  this.selectedTagListenable,
  this.onTagTap,
});