XScheda<T extends XFDataItem> constructor
XScheda<T extends XFDataItem> (
- Key? key,
- 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,
- double headerHeight = 0.4,
- Color? cell_borderColor,
- Color? cell_borderColor_Disabled,
- Color? cell_labelColor_Disabled,
- bool? viewSch_TYPE,
- dynamic xOnReturnBackFromScheda(
- void (
- void ()
- bool
- void (
- Map<
String, XView> ? liXView, - bool detts_allowAdd = false,
- dynamic detts_OnEditValueInItem(
- dynamic
- dynamic detts_OnTapItem()?,
- dynamic detts_functItem()?,
Implementation
XScheda(
Key? key,
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.headerHeight = 0.4,
this.cell_borderColor,
this.cell_borderColor_Disabled,
this.cell_labelColor_Disabled,
this.viewSch_TYPE,
this.xOnReturnBackFromScheda,
this.liXView,
this.detts_allowAdd = false,
this.detts_OnEditValueInItem,
this.detts_OnTapItem,
this.detts_functItem,
}) : super(key: key) {
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,
),
];
}
}