cobi_flutter_settings library Null safety

A flutter package that uses the packages shared_preferences for persistence

Classes

CheckboxSetting
A checkbox setting
CustomSetting<T>
A Custom Setting for various purposes This widget can be used for various stuff, like calling another navigation route or showing some information
ImageSetting
An image setting
ListItem<T>
A class for list widget children
MultiSelectSetting<T>
A Setting for a multi-selection list
RadioModalSetting<T>
Similar to RadioSetting but instead of showing the radio buttons directly, this opens a dialog and stores the selected value only when the dialog is confirmed
RadioSetting<T>
A radiobutton setting
SettingsGroup
A group of settings
SettingsScreen
The uppermost container for settings widgets
SettingsWidgetBase<T>
The base class for all settings widgets T is the type of value stored via shared_preferences
SettingsWidgetBaseState<T, W extends SettingsWidgetBase<T>>
The base state class for SettingsWidgetBase
SliderSetting
A slider setting
SwitchSetting
A switch setting
TextSetting<T>
A textfield setting

Typedefs

SettingChangedCallback<T> = void Function(T? from, T? to)