XScheda<T extends XFDataItem> constructor
XScheda<T extends XFDataItem> (
- T itemInEdit,
- XView xView, {
- String? title,
- Color? title_BackColor,
- Color? title_Color,
- List<
Widget> ? title_Widgets, - String? btnOK_label = "OK",
- String? btnCancel_label,
- bool modeDialog_Active = false,
- bool modePage_Active = true,
- bool editable = true,
- Decoration? decoration,
- double? width,
- Color? cell_borderColor,
- Color? cell_borderColor_Disabled,
- Color? cell_labelColor_Disabled,
- bool allowAddDetts = false,
- bool? viewSch_TYPE,
- dynamic xOnReturnBackFromScheda(
- void (
- void ()
- bool
- void (
- bool? liDetts_SchView,
- List<
XView> ? liXViewsApp, - bool? borderAree_Header,
- Widget? liDetts_SubArea(
- dynamic
- bool complexUI = false,
- bool viewDettsAlways = false,
- bool showHead = true,
- 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,
),
];
}
}