xLayout_HeadBuild method

Widget xLayout_HeadBuild({
  1. XView? xclView,
})

Implementation

Widget xLayout_HeadBuild({XView? xclView}) {
  return StatefulBuilder(builder: (context, setState) {
    return Container(
        child: Scrollbar(
            thumbVisibility: true,
            controller: xController_Scroll,
            child: SingleChildScrollView(
                controller: xController_Scroll,
                child: Container(
                  margin: EdgeInsets.only(bottom: 10),
                  decoration: widget.decoration ?? BoxDecoration(),
                  child: Column(crossAxisAlignment: CrossAxisAlignment.start, mainAxisSize: MainAxisSize.min, children: widget.xHead_Show ? xLayout_Render_HeadView(xclView != null ? xclView : widget.xView) : []),
                ))));
  });
}