flutter_app_expiry 1.2.3
flutter_app_expiry: ^1.2.3 copied to clipboard
Enforce trial periods in Flutter apps. Set a deadline, auto-lock on expiry, and protect your work. Zero dependencies.
Changelog #
1.2.3 #
- Update desc and topic
1.2.2 #
- Updated README.md with preview video
1.2.1 #
- ✨ New Feature: Image Watermarking — You can now use asset image paths for the watermark overlay by passing
imagePathandimageSizetoWatermarkConfig. - 📂 Tiled or Centered Rendering — Automatically tiles the image watermark across the screen by default, or shows it once centered with
repeat: false. - 🛠 Layout Stability Fix — Explicitly set
alignment: Alignment.topLeftforStackwidgets inWatermarkOverlayto prevent the "No Directionality widget found" error when the package is used at the root level. - 📖 Improved Documentation — Reorganized the README with clearer examples for both text and image mode watermarks.
- 🎨 Watermark Customization — Easily customizable with opacity, angle, color, and tiled repeating mode.
0.0.3 #
- Updated README with preview video
0.0.2 #
- Added
ExpiryApp.remote()— fetch expiry date from a remote JSON endpoint - Added
RemoteExpiryServicefor standalone remote expiry checks - Configurable JSON key, timeout, loading widget, and fallback date
- Graceful fail-open behavior when network is unavailable
0.0.1 #
- Initial release
ExpiryAppwidget — wraps your app and enforces an expiration dateExpiryService— utility class for expiry checks (isExpired, remainingDays, remainingDuration)DefaultExpiredScreen— polished, animated expiration screen with customizable title, message, and contact info