xLayout_XResizer_AdditionalWidgets_AfterTitle method

List<Widget> xLayout_XResizer_AdditionalWidgets_AfterTitle()

Da overridare per aggiungere Widgets nel widget XResized prima del titolo

Implementation

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