json_dynamic_widget_plugin_js 2.0.2+13 copy "json_dynamic_widget_plugin_js: ^2.0.2+13" to clipboard
json_dynamic_widget_plugin_js: ^2.0.2+13 copied to clipboard

A plugin to the JSON Dynamic Widget to provide JS support to the widgets

Table of Contents

json_dynamic_widget_plugin_js #

Table of Contents #

Live Example #

Introduction #

Plugin to the JSON Dynamic Widget to provide JS support by using vanilla JS for web and Flutter JS for others platforms.

Using the Plugin #

import 'package:json_dynamic_widget/json_dynamic_widget.dart';
import 'package:json_dynamic_widget_plugin_js/json_dynamic_widget_plugin_js.dart';


void main() {
  // Ensure Flutter's binding is complete
  WidgetsFlutterBinding.ensureInitialized();

  // ...

  // Get an instance of the registry
  var registry = JsonWidgetRegistry.instance;

  // Bind the plugin to the registry.  This is necessary for the registry to
  // find the widget provided by the plugin
  JsonJsPlugin.bind(registry);

  // ...
}

1
likes
0
pub points
29%
popularity

Publisher

unverified uploader

A plugin to the JSON Dynamic Widget to provide JS support to the widgets

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

child_builder, flutter, flutter_js, js, json_class, json_dynamic_widget, json_theme, logging, meta, uuid

More

Packages that depend on json_dynamic_widget_plugin_js