cobi_flutter_platform_settings library

A flutter package that uses the packages shared_preferences for persistence and flutter_platform_widgets for platform integration

Classes

PlatformCheckboxSetting
A checkbox setting
PlatformCustomSetting<T>
A Custom Setting for various purposes This widget can be used for various stuff, like calling another navigation route or showing some information
PlatformListItem<T>
A class for list widget children
PlatformRadioModalSetting<T>
Similar to PlatformRadioSetting but instead of showing the radio buttons directly, this opens a dialog and stores the selected value only when the dialog is confirmed
PlatformRadioSetting<T>
A radiobutton setting
PlatformSettingsGroup
A group of settings
PlatformSettingsScreen
The uppermost container for platform settings widgets
PlatformSettingsWidgetBase<T>
The base class for all platform settings widgets T is the type of value stored via shared_preferences
PlatformSettingsWidgetBaseState<T, W extends PlatformSettingsWidgetBase<T>>
The base state class for PlatformSettingsWidgetBase
PlatformSliderSetting
A slider setting
PlatformSwitchSetting
A switch setting
PlatformTextSetting<T>
A textfield setting

Typedefs

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