14 lines
277 B
Dart
14 lines
277 B
Dart
|
class SettingsOption {
|
||
|
final String title;
|
||
|
final String subtitle;
|
||
|
final bool Function() getValue;
|
||
|
final void Function(bool) onChanged;
|
||
|
|
||
|
SettingsOption({
|
||
|
required this.title,
|
||
|
this.subtitle = '',
|
||
|
required this.getValue,
|
||
|
required this.onChanged,
|
||
|
});
|
||
|
}
|