xfillxTabsDetts method

dynamic xfillxTabsDetts(
  1. XCol xCol,
  2. void parentSetState(
    1. void ()
    )
)

Override per modificare il Fill degli XTabs Secoindari all'interno dei Dett della Scheda

Implementation

xfillxTabsDetts(XCol xCol, void Function(void Function()) parentSetState) async {
  var t = 0;
  xTabs_Detts.clear();
  for (var i in itemInEdit_Clone.getProp(xCol.colKey)) {
    xTabs_Detts.add(XTabItem(
        t,
        xCol.colCaption + " " + t.toString(), //
        xCol.colCaption + " " + t.toString(),
        itemClass: i,
        content: xTabViewDett_Widget(i, t, parentSetState), //tabViewPages(widget.xView.cols.firstWhere((element) => element.colKey == xCol.colKey))
        labelColor_Active: Colors.white,
        labelColor_Disabled: Colors.white,
        iconColor_Active: Colors.white,
        iconColor_Disabled: Colors.white,
        color_backGroundTab: Colors.green,
        color_backGroundTab_Activate: Colors.grey));
    t++;
  }
  xController_Tab_Dett = TabController(length: xTabs_Detts.length, vsync: this);
}