JVCustomWidget constructor

JVCustomWidget(
  1. String? widgetId,
  2. 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;
  }
}