jpl_json_dynamic_widget_plugin_material_icons 4.0.1+12 copy "jpl_json_dynamic_widget_plugin_material_icons: ^4.0.1+12" to clipboard
jpl_json_dynamic_widget_plugin_material_icons: ^4.0.1+12 copied to clipboard

A plugin to the JSON Dynamic Widget to provide String name support for Material Icons

🛡️ Fork — Jeff Peiffer Legacy (jpl_) #

Este paquete (jpl_json_dynamic_widget_plugin_material_icons) es un fork de json_dynamic_widget_plugin_material_icons, originalmente creado por Jeff Peiffer y archivado (read-only) junto con toda la org peiffer-innovations.

El prefijo jpl_ significa Jeff Peiffer Legacy: mantenemos vivo el legado de estos paquetes, bumpeados a las últimas versiones de Dart/Flutter, en el monorepo jpl.

Licencia original conservada. El crédito del diseño y la implementación original es de Jeff Peiffer.

I'm done

Table of Contents

json_dynamic_widget_plugin_material_icons #

Table of Contents #

Live Example #

Introduction #

Plugin to the JSON Dynamic Widget to provide named support for Material Icons.

Using the Plugin #

import 'package:json_dynamic_widget/json_dynamic_widget.dart';
import 'package:json_dynamic_widget_plugin_material_icons/json_dynamic_widget_plugin_material_icons.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
  JsonMaterialIconsPlugin.bind(registry);

  // ...
}

The icons can be referenced by name ising the new material_icon type such as:

{
  'type': 'material_icon',
  'args': {
    'icon': 'arrow_up'
  }
}
0
likes
160
points
1
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A plugin to the JSON Dynamic Widget to provide String name support for Material Icons

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, jpl_child_builder, jpl_json_class, jpl_json_dynamic_widget, jpl_json_theme, jpl_material_icons_named, logging, meta, uuid

More

Packages that depend on jpl_json_dynamic_widget_plugin_material_icons