preferences 5.2.1 copy "preferences: ^5.2.1" to clipboard
preferences: ^5.2.1 copied to clipboard

discontinuedreplaced by: pref

Create Preference Screens easily with advanced features and subpages

[5.2.1] - 15.08.2020 #

  • Added ignoreCache paramater to the get-methods of PrefService
  • Added option to change TextOverflow in PreferenceText
  • Changed version constraints of shared_preferences

[5.2.0] - 06.04.2020 #

  • Fixed types in DropdownPreference (thx to @davbfr)
  • Resolved pedantic warnings (thx to @davbfr)

[5.1.0] - 01.02.2020 #

  • Added sharedPreferences.clear()
  • Added more type-safety on fields (thx to @bartektartanus)
  • Added switchActiveColor option to SwitchPreference (thx to @E.Gallina)
  • Added onTap callback to PreferenceText
  • Added leading to RadioPreference

[5.0.1] - 04.10.2019 #

  • You can now use PrefService without init() if you use caching.

[5.0.0] - 03.10.2019 #

  • Added validation for TextFieldPreference
  • Added obscureText, hintText, style, keyboardType, labelStyle and decoration for TextFieldPreference
  • Added disabled option for every widget
  • Added leading and subtitle for PreferenceText

[4.0.0] - 11.06.2019 #

  • Added setDefaultValues function to PrefService
  • CheckboxPreference, DropdownPreference, SwitchPreference, TextFieldPreference: Default value of the widget is now set and saved when first rendered
  • Added possibility to modify saved text in TextFieldPreference by returning custom string in the onChange Method

[3.0.0] - 06.05.2019 #

  • Added TextField preference
  • PreferenceTitle: Added Option to override left padding
  • PreferenceDialogLink: Added onPop callback
  • Fixed Prefix not applying when caching

[2.0.0] - 30.01.2019 #

  • Upgraded shared_preferences to 0.5.2

[1.3.0] - 26.01.2019 #

  • Fixed Issue with PrefService prefix not applying

[1.2.0] - 20.01.2019 #

  • Added PreferenceDialog and PreferenceDialogLink
  • Added cache for PrefService to cache values and only apply them when submitting a dialog or confirming a change
  • Added StringList Getter and Setter to PrefService
  • Fixed some issues

[1.1.0] - 17.01.2019 #

  • Fixed Issue with default RadioPreference being not first

[1.0.8] - 05.01.2019 #

  • Fixed Issue with PreferenceHider

[1.0.7] - 05.01.2019 #

  • Fixed Issue with RadioPreference widgets on subpage

[1.0.5] - 05.01.2019 #

  • DropdownPreference Displayed Values can now be different from saved values
  • PreferencePageLink Page Title can now be different from Link-Label

[1.0.3] - 01.01.2019 #

  • You can now init PrefService again with a different prefix

[1.0.0] - 31.12.2018 #

  • Initial release.
47
likes
40
pub points
63%
popularity

Publisher

unverified uploader

Create Preference Screens easily with advanced features and subpages

Repository (GitLab)
View/report issues

License

MIT (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on preferences