intyx_dynamic_widget 0.1.3
intyx_dynamic_widget: ^0.1.3 copied to clipboard
AI-driven, JSON-configured dynamic widget system for Flutter. 16 built-in widget types (Banner, Carousel, Countdown, Poll, Rating …), responsive layout, dismissible support, and an action callback sys [...]
0.1.3 #
- Documentation: README now states that an API key from dynamic.intyx.ai is required; the package does not work without it.
- Fixes: Removed unnecessary casts in
WidgetEntry.fromJson; removed redundantdart:uiimport in tests. Analyzer clean withdart analyze --fatal-infos.
0.1.2 #
- Full JSON response rendering: All fields from widget JSON response (title, subtitle, body, cta, image, url, alias, text) are now displayed in widget previews.
- Text & alias field support: Widget types now properly render
textandaliasfields across all card types. - Improved JSON field mapping:
DynamicWidgetContainerand UI cards use complete field extraction from backend responses.
0.1.1 #
- Offline cache: Last widget response is cached locally via
shared_preferences; shown on next launch while the network response is pending. - License validation: SDK attaches
Authorization: Bearer <api_key>to every backend request and validates the key on init. - Analytics: Widget impressions and interaction events are automatically tracked via
WidgetService.recordImpression/recordInteraction. - Strict mode:
IntyxDynamicWidget.init()now raises anIntyxAuthExceptionwhenstrictMode: trueand the license key is invalid. - Improved
DynamicWidgetContainer— removed redundantThemewrapping. EdgeInsetsparsing order documented inResponsiveWidgetWrapper.
0.1.0 #
- Initial release
- 15+ built-in UI widget types: Banner, Carousel, Hero Image, Countdown, Poll, Rating, Profile, Progress, Social Proof, and more
- JSON-driven dynamic widget rendering with
DynamicWidgetContainer - Widget categories: Promotional, Informational, Contextual, Functional
- Responsive layout support with
ResponsiveWidgetWrapper - Widget catalog system with
CatalogProviderandWidgetRegistry - Firebase integration via
FirebaseService - Priority-based widget ordering
- Dismissible widget support
- Action callback system (
onAction,onDismiss) - Dark mode compatible Material 3 design