sectionFooter method
Section Footer
Implementation
@override
Widget sectionFooter(BuildContext context, {Key? key, String? footer, Map<String, dynamic>? extraInfo}) {
if (footer?.isEmpty ?? true) return SizedBox.shrink();
return Container(
height: footerHeight(context),
color: footerBackgroundColor(context),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
mainAxisSize: MainAxisSize.max,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
leadingCellPadding(context, extraInfo: extraInfo),
Expanded(
child: Align(
alignment: AlignmentDirectional.topStart,
child: Text(footer ?? '', style: footerTextStyle(context), overflow: TextOverflow.ellipsis),
),
),
trailingCellPadding(context, extraInfo: extraInfo),
],
),
);
}