privacy_policy_plus 1.0.1
privacy_policy_plus: ^1.0.1 copied to clipboard
A Flutter package to quickly display a customizable privacy policy page, with region skip/force logic and shared_preferences integration.
Changelog #
All notable changes to this project will be documented in this file.
1.0.1 - 2025-05-20 #
Changed #
- Changed
getDeviceCountryCode()to useui.PlatformDispatcher.instance.localeinstead of the deprecatedui.window.localefor better compatibility with Flutter 3.7+. - Removed all
dart:iodependencies to improve web platform support.
1.0.0 - 2025-05-20 #
Added #
- Initial release.
- Display privacy policy and consent page with a single line of code.
- Support for custom app icon, policy items, button text, and actions.
- Support for privacy policy/terms of service links.
- Region-based display logic (
skipRegionList,onlyRegionList). - Built-in shared_preferences support for consent persistence.
- Customizable
onAccept/onRejectcallbacks. - Flexible API for easy integration and extension.