XScheda<T extends XFDataItem> constructor

XScheda<T extends XFDataItem>(
  1. T itemInEdit,
  2. XView xView, {
  3. String? title,
  4. Color? title_BackColor,
  5. Color? title_Color,
  6. List<Widget>? title_Widgets,
  7. String? btnOK_label = "OK",
  8. String? btnCancel_label,
  9. bool modeDialog_Active = false,
  10. bool modePage_Active = true,
  11. bool editable = true,
  12. Decoration? decoration,
  13. double? width,
  14. Color? cell_borderColor,
  15. Color? cell_borderColor_Disabled,
  16. Color? cell_labelColor_Disabled,
  17. bool allowAddDetts = false,
  18. bool? viewSch_TYPE,
  19. dynamic xOnReturnBackFromScheda(
    1. void (
      1. void ()
      ),
    2. bool
    )?,
  20. bool? liDetts_SchView,
  21. List<XView>? liXViewsApp,
  22. bool? borderAree_Header,
  23. Widget? liDetts_SubArea(
    1. dynamic
    )?,
  24. bool complexUI = false,
  25. bool viewDettsAlways = false,
  26. bool showHead = true,
  27. bool xDett_minHeight_showHead = true,
})

Implementation

XScheda(
  this.itemInEdit,
  this.xView, {
  this.title,
  this.title_BackColor,
  this.title_Color,
  this.title_Widgets,
  this.btnOK_label = "OK",
  this.btnCancel_label,
  this.modeDialog_Active = false,
  this.modePage_Active = true,
  this.editable = true,
  this.decoration,
  this.width,
  this.cell_borderColor,
  this.cell_borderColor_Disabled,
  this.cell_labelColor_Disabled,
  this.allowAddDetts = false,
  this.viewSch_TYPE,
  this.xOnReturnBackFromScheda,
  this.liDetts_SchView,
  this.liXViewsApp,
  this.borderAree_Header,
  this.liDetts_SubArea,
  this.complexUI = false,
  this.viewDettsAlways = false,
  this.showHead = true,
  this.xDett_minHeight_showHead = true,
}) : super() {
  if (this.title_Widgets == null && modeDialog_Active == true) {
    //gestisco i titoli che verranno messi
    this.title_Widgets = [
      XContainerWithLabel(
        title,
        textStyle: XStyles.xStyTextForSubLabel(this.title_Color ?? XColors.foregroundLight),
        color: this.title_BackColor ?? XColors.backGroundTitleContainerForScheda_MAIN,
      ),
    ];
  }
}