updatify_flutter 1.4.1
updatify_flutter: ^1.4.1 copied to clipboard
A Flutter widget for displaying release notes, product updates, and announcements from the Updatify service.
1.4.1 #
- Readme update. Added help section about integrating UpdatifyFlutter widget into FlutterFlow app.
1.4.0 #
- Added up/down voting on posts. Each post shows a thumbs up/down control that records the reaction via the Updatify API and mirrors it locally, so a viewer's previous vote is highlighted when the popup reopens. Voting toggles: tapping the active vote clears it, switching replaces it.
- Voting is controlled entirely by the project's dashboard setting
(
voting_enabled) - there is no client flag. NewvoteBuilderfor a custom vote control onUpdatifyTrigger,showUpdatifyDialog,showUpdatifyBottomSheet, andUpdatifyWidget; it receives the currentVoteType?and anonVotecallback that hides all toggle, networking, and persistence logic. - Added
UpdatifyService.voteand theVoteTypeenum. - The updates response now carries a project
config(voting_enabled,widget_title), applied automatically: voting is hidden when disabled server-side, and the popup title falls back to the dashboard'swidget_titlewhen notitleis passed. Exposed via the newUpdatifyConfig,UpdatifyService.fetchUpdates, and anonConfigcallback onUpdatifyWidget.
1.3.0 #
- Added
showUpdatifyBottomSheet, a mobile-friendly bottom sheet alternative toshowUpdatifyDialogwith the same post rendering and customization. UpdatifyTriggergained apopupTypeoption (UpdatifyPopupType.modalorUpdatifyPopupType.bottomSheet) to choose how it presents the updates.
1.2.0 #
- Added
PingColor propertywhich allows to override default red ping color. Also provided a list of predefined ones -PingColor.red,PingColor.yellow,PingColor.green,PingColor.blue.
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.
