buildFooter method
Implementation
Widget buildFooter(BuildContext context, EdgeInsets viewInsets) {
return Offstage(
offstage: viewInsets.bottom > 0,
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],
),
],
),
),
);
}