SettingItem<T> constructor
const
SettingItem<T> ({
- String? elementKey,
- required SettingItemType type,
- required String title,
- List<
Object?> tags = const [], - String tagToDisplayText(
- Object? tag
- ValueListenable<
bool> ? switchListenable, - ValueChanged<
bool> ? onSwitchChanged, - ValueListenable<
Object?> ? selectedTagListenable, - 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,
});