flutter_settings library
A package to set custom values in Shared Preferrences in a screen with provided input fields.
Classes
- Avatar
- AvatarWrapper
- ChangePasswordConfig
- Configuration to enable to user to change his password in the profilescreen.
- Control
- Country
- DeviceSettingsPage
- FlutterFormInputBool
- FlutterFormInputCarousel
- FlutterFormInputDateTime
- FlutterFormInputMultiLine
- FlutterFormInputNumberPicker
- FlutterFormInputPassword
-
Generates a TextFormField for passwords. It requires a
FlutterFormInputController
as the controller parameter and an optional Widget as label - FlutterFormInputPhone
- FlutterFormInputPlainText
- FlutterFormInputRadioPicker
-
FlutterFormInputScrollPicker<
T> - FlutterFormInputSlider
- ItemBuilder
- ItemBuilder is used to set the standard textfield for each undefined users data item.
- ItemBuilderOptions
- ItemBuilderOptions is a class to store all settings for a field in the profile page.
- NumberPickerFormField
- PhoneNumber
- ProfileData
- ProfileData is used to store custom/addintional data for a user.
- ProfilePage
- The ProfilePage widget is able to show the data of a user. By default the user is able to change this data. The widget has a couple of parameters listed below:
- ProfileService
- ProfileService can be extended and set for the profilePage. The following method can be overriden.
- ProfileStyle
- ProfielStyle is used to set a couple of style paramaters for the whole profile page.
-
RadioItem<
T> - RadioPickerFormField
- ScrollPickerDecoration
-
ScrollPickerFormField<
T> - SettingsPage
-
SettingsPageState<
SP extends SettingsPage> - TypeUtils
- User
- User is used to contain all user data. It consists of three standard fields: firstName, lastName and image/imageUrl.
- WrapViewOptions
Enums
- BoolWidgetType
- ControlType
- The settings are saved to shared preferences. Use the key you set to extract the value of the settings.
- FlutterFormDateTimeType
- Month
- WeekDay