FlintWidget constructor

FlintWidget({
  1. String? id,
  2. FlintScript? script,
  3. String? xData,
  4. String? xInit,
  5. String? xShow,
  6. Map<String, String>? xBind,
  7. Map<String, String>? xOn,
  8. String? xText,
  9. String? xHtml,
  10. String? xModel,
  11. String? xModelable,
  12. String? xFor,
  13. String? xTransition,
  14. String? xEffect,
  15. bool? xIgnore,
  16. String? xRef,
  17. bool? xCloak,
  18. String? xTeleport,
  19. bool? xIf,
  20. String? xId,
})

Implementation

FlintWidget({
  String? id,
  this.script,
  this.xData,
  this.xInit,
  this.xShow,
  Map<String, String>? xBind,
  Map<String, String>? xOn,
  this.xText,
  this.xHtml,
  this.xModel,
  this.xModelable,
  this.xFor,
  this.xTransition,
  this.xEffect,
  this.xIgnore,
  this.xRef,
  this.xCloak,
  this.xTeleport,
  this.xIf,
  this.xId,
})  : xBind = xBind ?? {},
      xOn = xOn ?? {},
      id = id ?? _generateId();