CustomWidgetModel constructor
CustomWidgetModel(
- WidgetModel widgetModel,
- String type,
- Map<
String, dynamic> props, - Map<
String, dynamic> styles, { - List<
ParsedCode> ? importedCode, - List<
String> ? parameters, - Map<
String, dynamic> ? inputs, - Map<
String, EnsembleAction?> ? actions, - Map<
String, EnsembleEvent> ? events, - String? globalCode,
- SourceSpan? globalCodeSpan,
- Map<
String, YamlMap> ? apiMap,
Implementation
CustomWidgetModel(this.widgetModel, String type, Map<String, dynamic> props,
Map<String, dynamic> styles,
{this.importedCode,
this.parameters,
this.inputs,
this.actions,
this.events,
this.globalCode,
this.globalCodeSpan,
this.apiMap})
: super(widgetModel.definition, type, {}, {}, styles, [], props);