updatify_flutter 1.1.0
updatify_flutter: ^1.1.0 copied to clipboard
A Flutter widget for displaying release notes, product updates, and announcements from the Updatify service.
1.1.0 #
- Added
UpdatifyTrigger, a drop-in button that opens the updates dialog and shows a "new updates" indicator when unseen posts exist. It forwards everyshowUpdatifyDialogcustomization, supports abuilderfor rendering a custom control/indicator, and analwaysShowIndicatorflag for previewing. - The trigger detects unseen updates via the new
UpdatifyService.countUpdatesSince, backed by theupdates_sinceAPI, and records when a project's updates were last opened. Opening the dialog clears the indicator;UpdatifyTrigger.resetLastViewedresets it.
1.0.3 #
- Updated dependencies.
1.0.2 #
- Added
enablePostViewTracking(onUpdatifyWidgetandshowUpdatifyDialog) to turn post view tracking on or off. Defaults totrue.
1.0.1 #
- Views are now tracked automatically: each update reports an anonymous, device-scoped impression to the Updatify API the first time it scrolls into view. Tracking is best-effort and never blocks or disrupts the UI.
- Fixed the post meta text (author and date), which used a hard-coded dark color that was unreadable in dark mode; it now follows the theme.
- Chip colors now adapt to light and dark themes, lightening the text and strengthening the background tint on dark surfaces.
- Fixed HTML body block elements (headings and paragraphs) rendering on the same line; they now break onto separate lines.
- Added code styling via
codeStyleandcodeBlockDecoration, and code blocks now span the full available width.
1.0.0 #
Initial release.
UpdatifyWidgetfor displaying a project's updates fetched from the Updatify API.showUpdatifyDialoghelper for presenting updates in a dialog, with aborderRadiusoption for rounding the dialog corners.- Customizable post appearance via
UpdatifyPostDecoration(header, title, image, body, and chip styling). - Four post types (update, announcement, bug fix, and feature highlight), each
with a distinct, per-type customizable chip color (
chipColors). - Markdown post bodies with tappable links that open in the device's browser.
- Hero images cached to disk via
cached_network_image. - Injectable
UpdatifyService(accepts a customhttp.Client) for testing and custom networking.
