persist_theme icon indicating copy to clipboard operation
persist_theme copied to clipboard

Persist Theme - A flutter plugin for persisting the theme data. Support for Dark Modes. Maintainer @rodydavis

Results 8 persist_theme issues
Sort by recently updated
recently updated
newest added

Update dependencies and migrate to Null Safety

sorry for putting this in code issues the link to this repository on pub.dev is broken "/flutter_community/" is used instead of "'/fluttercommunity/"

With the use of `SwitchListTile` the entire ListTile is interactive, and tapping anywhere on the Tile will trigger the switch. Note that I've renamed the `leading` parameter to `secondary` to...

Please remove _prefs.clear in reset method to avoid clearing all data for Shared Preferences if used in App elsewhere. Better clear only used values. A prefix for the names would...

This should give us 10 additional pub points :smiley:

Changes I made: Example: - removed `_setTargetPlatformForDesktop`, as it is no longer required. - use `Theme.of(context)` instead of `Provider.of(context)`, because that returns the actual `ThemeData` object, is probably already familiar...

According to the provider documentation: > If you already have an object instance and want to expose it, you should use the .value constructor of a provider. > Failing to...

This is actually a regression from the flutter_material_color_picker package v1.0.4 (https://github.com/Pyozer/flutter_material_color_picker/commit/e6e638b7cef89d6c2fe62adaa49028cc5d898a14). To be able to display the color picker in a dialog inside a `SingleChildScrollView`, `shrinkWrap` must be true.