intyx_dynamic_widget 0.1.0 copy "intyx_dynamic_widget: ^0.1.0" to clipboard
intyx_dynamic_widget: ^0.1.0 copied to clipboard

Dynamic widget system for Flutter apps. AI-driven, JSON-configured, responsive widgets with 15+ built-in UI components.

intyx_dynamic_widget #

Dynamic widget system for Flutter apps. AI-driven, JSON-configured, responsive widgets with 15+ built-in UI components.

Features #

  • JSON-driven rendering – Widgets are defined by JSON and rendered via DynamicWidgetContainer
  • 15+ built-in UI types – Banner, Carousel, Hero Image, Countdown, Poll, Rating, Profile, Progress, Social Proof, and more
  • Widget categories – Promotional, Informational, Contextual, Functional
  • Responsive layoutResponsiveWidgetWrapper for adaptive sizing
  • Catalog systemCatalogProvider and WidgetRegistry for widget discovery
  • Firebase – Optional integration via FirebaseService
  • Priority & dismiss – Priority-based ordering and dismissible widgets
  • ActionsonAction and onDismiss callbacks

Installation #

Add to your pubspec.yaml:

dependencies:
  intyx_dynamic_widget: ^0.1.0

Then run:

flutter pub get

Usage #

1. Register built-in widgets (once at startup) #

import 'package:intyx_dynamic_widget/intyx_dynamic_widget.dart';

void main() {
  registerDefaultWidgets();
  runApp(MyApp());
}

2. Initialize (e.g. with Firebase) #

await IntyxInit.initialize(
  firebaseProjectId: 'your-project-id',
  // optional: catalogJsonUrl, widgetServiceBaseUrl
);

3. Show dynamic widgets #

DynamicWidgetContainer(
  triggerContext: TriggerContext(
    userId: 'user-123',
    locale: 'en',
    platform: 'mobile',
  ),
  onAction: (actionId, payload) => {},
  onDismiss: (widgetId) => {},
)

4. Use a single widget from JSON #

final widget = WidgetDefinition.fromJson(jsonMap);
// Use with your registered builders via WidgetResolver or render directly

Topics #

  • widget
  • dynamic-ui
  • json
  • ai

License #

MIT – see LICENSE for details.

1
likes
140
points
234
downloads

Publisher

verified publisherintyx.ai

Weekly Downloads

Dynamic widget system for Flutter apps. AI-driven, JSON-configured, responsive widgets with 15+ built-in UI components.

Repository (GitHub)
View/report issues

Topics

#widget #dynamic-ui #json #ai

Documentation

API reference

License

MIT (license)

Dependencies

cached_network_image, cloud_firestore, flutter, http

More

Packages that depend on intyx_dynamic_widget