cofounderella/lib/settings/settings_options.dart

14 lines
277 B
Dart
Raw Normal View History

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,
});
}