flutter_duit 3.6.0 copy "flutter_duit: ^3.6.0" to clipboard
flutter_duit: ^3.6.0 copied to clipboard

Server driver UI framework for Flutter. Allows you to update your cool UI without updating the app!

Coverage Status Pub Version Pub Points GitHub Org's stars

Duit - drived UI tooklit. #

Duit is an actively growing open-source ecosystem of libraries and tools aimed at helping developers easily and effectively implement the backend-driven UI approach in their Flutter-based applications.

The framework consists of several parts:

Are you using Duit in production? Contact us and tell us about your experience!

Core features #

Learn more Duit features on our website #

Usage example #

  1. Install flutter_duit
flutter pub add flutter_duit
  1. Create DuitDriver instance.

It is responsible for displaying the UI, updating the state of widgets, and calling widget-related actions.

final driver = DuitDriver(
  "/layout",
  transportOptions: HttpTransportOptions(
    defaultHeaders: {"Content-Type": "application/json"},
    baseUrl: "http://localhost:8999",
  ),
);
  1. Embed the DuitViewHost widget into your application in the build method.
DuitViewHost(
  driver: driver,
  placeholder: const CircularProgressIndicator(),
),

Project roadmap #

  • New event types
  • Expanding the widget collection
  • Increasing unit test coverage of the code base
  • Expansion and improvement of documentation quality
  • New DSL (eg. for Dart)

Learn more about project state

Contributors #

License #

MIT

13
likes
150
points
112
downloads

Publisher

verified publisherdev.duit.pro

Weekly Downloads

Server driver UI framework for Flutter. Allows you to update your cool UI without updating the app!

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

duit_kernel, flutter, http, meta, web

More

Packages that depend on flutter_duit