buildFooter method

Widget buildFooter(
  1. BuildContext context,
  2. EdgeInsets viewInsets
)

Implementation

Widget buildFooter(BuildContext context, EdgeInsets viewInsets) {
  return Offstage(
    offstage: viewInsets.bottom > 0,
    child: RepaintBoundary(
      child: Container(
        color: widget.footerBackgroundColor,
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.stretch,
          children: [
            for (var i = 0; i < widget.footers.length; i++)
              Data.inherit(
                data: ScaffoldBarData(
                  isHeader: false,
                  childIndex: i,
                  childrenCount: widget.footers.length,
                ),
                child: widget.footers[i],
              ),
          ],
        ),
      ),
    ),
  );
}