SettingSwitchItem constructor
const
SettingSwitchItem({
- Key? key,
- required String title,
- required bool value,
- required ValueChanged<
bool> ? onChanged, - ItemPriority priority = ItemPriority.normal,
- String? description,
Implementation
const SettingSwitchItem({
Key? key,
required this.title,
required this.value,
required this.onChanged,
this.priority = ItemPriority.normal,
this.description,
}) : super(key: key);