JVCustomWidget constructor
JVCustomWidget(
- String? widgetId,
- JVCustomWidgetType? type
Implementation
JVCustomWidget(this.widgetId, this.type) {
this.widgetId = widgetId;
this.type = type;
if (type == JVCustomWidgetType.button) {
this.isClickEnable = true;
} else {
this.isClickEnable = false;
}
}