jpl_json_dynamic_widget_plugin_font_awesome 4.0.0+38
jpl_json_dynamic_widget_plugin_font_awesome: ^4.0.0+38 copied to clipboard
A plugin to the JSON Dynamic Widget to provide Font Awesome support to the widgets
🛡️ Fork — Jeff Peiffer Legacy (
jpl_) #Este paquete (
jpl_json_dynamic_widget_plugin_font_awesome) es un fork dejson_dynamic_widget_plugin_font_awesome, originalmente creado por Jeff Peiffer y archivado (read-only) junto con toda la orgpeiffer-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 monorepojpl.Licencia original conservada. El crédito del diseño y la implementación original es de Jeff Peiffer.
Table of Contents
json_dynamic_widget_plugin_font_awesome #
Table of Contents #
Live Example #
Introduction #
Plugin to the JSON Dynamic Widget to provide Font Awesome support utilizing the font_awesome_flutter package.
Using the Plugin #
import 'package:json_dynamic_widget/json_dynamic_widget.dart';
import 'package:json_dynamic_widget_plugin_font_awesome/json_dynamic_widget_plugin_font_awesome.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
JsonFontAwesomePluginRegistrar.registerDefaults(registry: registry);
// ...
}