buildWidget method

Widget buildWidget(
  1. Widget bottomWidget, {
  2. Widget? header,
})

Implementation

Widget buildWidget(Widget bottomWidget, {Widget? header})
{
  return Column(
    crossAxisAlignment: CrossAxisAlignment.start,
    children: [
      if (widget.showHeader)
        Row(
          children: [
            if (curIndex > 0)
              widget.controller.backButton(),
            const SizedBox(width: 10),
            widget.controller.headerWidget()
          ]
        ).paddingHorizontal(10),
      bottomWidget.expanded()
    ]
  );
}