ThreeColumnTextBar constructor

ThreeColumnTextBar({double holderHeight: 60.0, double holderBorderRadius: 0.0, Color holderColor: Colors.grey, String c1LabelText: 'labelText', String c1DataText: 'dataText', String c2LabelText: 'labelText', String c2DataText: 'dataText', String c3LabelText: 'labelText', String c3DataText: 'dataText', Color labelTextColor: Colors.blue, double labelTextFontSize: 12.0, FontWeight labelTextFontWeight: FontWeight.normal, String labelTextFontFamily, Color dataTextColor: Colors.black, double dataTextFontSize: 14.0, FontWeight dataTextFontWeight: FontWeight.normal, String dataTextFontFamily, bool showHangingDivider: true, Color hangingDividerColor: Colors.white })

It allows you to create the most configurable ThreeColumnTextBar with customizable default grey background. The labelText and dataText are set to blue and black colors, respectively. Also borderRadius is set to 0 and hangingDivider is visible. The prefix of c1, c2, and c3 represent Column #1, Column #2, and Column #3, respectively. Note: The minimum holder hieght is 60px on any device.

Implementation

ThreeColumnTextBar({
  double holderHeight = 60.0,
  double holderBorderRadius = 0.0,
  Color holderColor = Colors.grey,
  String c1LabelText = 'labelText',
  String c1DataText = 'dataText',
  String c2LabelText = 'labelText',
  String c2DataText = 'dataText',
  String c3LabelText = 'labelText',
  String c3DataText = 'dataText',
  Color labelTextColor = Colors.blue,
  double labelTextFontSize = 12.0,
  FontWeight labelTextFontWeight = FontWeight.normal,
  String labelTextFontFamily,
  Color dataTextColor = Colors.black,
  double dataTextFontSize = 14.0,
  FontWeight dataTextFontWeight = FontWeight.normal,
  String dataTextFontFamily,
  bool showHangingDivider = true,
  Color hangingDividerColor = Colors.white,
})  : _c1LabelText = c1LabelText,
      _c1DataText = c1DataText,
      _c2LabelText = c2LabelText,
      _c2DataText = c2DataText,
      _c3LabelText = c3LabelText,
      _c3DataText = c3DataText,
      _holderHeight = holderHeight >= 60.0 ? holderHeight : 60.0,
      _labelTextColor = labelTextColor,
      _labelTextFontSize = labelTextFontSize,
      _labelTextFontWeight = labelTextFontWeight,
      _labelTextFontFamily = labelTextFontFamily,
      _dataTextColor = dataTextColor,
      _dataTextFontSize = dataTextFontSize,
      _dataTextFontWeight = dataTextFontWeight,
      _dataTextFontFamily = dataTextFontFamily,
      _holderColor = holderColor,
      _holderBorderRadius = holderBorderRadius,
      _showHangingDivider = showHangingDivider,
      _hangingDividerColor = hangingDividerColor;