xLayout_XResizer_AdditionalWidgets_BeforeTitle method

List<Widget> xLayout_XResizer_AdditionalWidgets_BeforeTitle()

Da overridare per aggiungere Widgets nel widget XResized prima del titolo

Implementation

List<Widget> xLayout_XResizer_AdditionalWidgets_BeforeTitle() {
  List<Widget> liWidget = List<Widget>.empty(growable: true);
  liWidget.clear();
  if (widget.xResizer_AddBTN_Detts && widget.editable && xInitList_AddDetts().isNotEmpty && kIsWeb) {
    liWidget.add(XActionWidget(
      XActionsBase.addDett,
      xApp: widget.xApp,
      icon_Color: widget.xApp!.enterpriseMode ? Colors.black : null,
      onPressed: () => xCMD_xOnAddDett(),
      BTN_Color: widget.xApp!.enterpriseMode ? XColors.enterpriseMode_Background_Grey : null,
    ));
  }
  return liWidget;
}