ThreeColumnTextBar constructor
It allows you to create the most configurable ThreeColumnTextBar with customizable default grey background. Also, by default, the label and data text are blue and black in color respectively, border radius is set to 0.0, and hanging dividers are visible. The prefix of c1, c2, and c3 represent Column #1, Column #2, and Column #3, respectively.
Implementation
ThreeColumnTextBar({
@required BuildContext context,
String c1LabelText = 'labelText',
String c1DataText = 'dataText',
String c2LabelText = 'labelText',
String c2DataText = 'dataText',
String c3LabelText = 'labelText',
String c3DataText = 'dataText',
Color labelTextColor = Colors.blue,
Color dataTextColor = Colors.black,
ScalePreset scalePreset = ScalePreset.small,
Color holderColor = Colors.grey,
double holderBorderRadius = 0.0,
bool showHangingDivider = true,
Color dividerColor = Colors.white,
}) : _context = context,
_c1LabelText = c1LabelText,
_c1DataText = c1DataText,
_c2LabelText = c2LabelText,
_c2DataText = c2DataText,
_c3LabelText = c3LabelText,
_c3DataText = c3DataText,
_labelTextColor = labelTextColor,
_dataTextColor = dataTextColor,
_holderColor = holderColor,
_holderBorderRadius = holderBorderRadius,
_scalePreset = scalePreset,
_showHangingDivider = showHangingDivider,
_hangingDividerColor = dividerColor;