tableSubHeaders function
Implementation
Widget tableSubHeaders(List<String> subHeaderTile, double width, double height,
{double textSize = 12}) {
return Row(
children: [
...subHeaderTile.map((subEle) {
return Container(
width: width,
height: height,
decoration: BoxDecoration(
color: ReportTableUtils.headerColor,
border: Border(
bottom: BorderSide(color: ReportTableUtils.headerCellBorderColor),
right: BorderSide(color: ReportTableUtils.headerCellBorderColor),
left: BorderSide(color: ReportTableUtils.headerCellBorderColor),
),
),
alignment: Alignment.center,
child: Text(
subEle,
style: TextStyle(
fontWeight: FontWeight.bold,
color: ReportTableUtils.headerTextColor,
fontSize: ReportTableUtils.getHeaderSize(textSize),
),
),
);
}),
],
);
}