FlatListItem.dark constructor

FlatListItem.dark({double cornerRadius: 0.0, ScalePreset scalePreset: ScalePreset.normal, Icon icon, String leftLabelText, String leftDataText, String rightLabelText, String rightDataText, FontWeight leftLabelTextFontWeight: FontWeight.normal, FontWeight leftDataTextFontWeight: FontWeight.normal, FontWeight rightLabelTextFontWeight: FontWeight.normal, FontWeight rightDataTextFontWeight: FontWeight.normal, String rightDataTextFontFamily, bool showHangingDivider: true })

////////////////// PRE-CONFIGURED ///////////////////////////////////////// Constructs a FlatListItem with dark background.

Implementation

/// Constructs a FlatListItem with dark background.
FlatListItem.dark({
  double cornerRadius = 0.0,
  ScalePreset scalePreset = ScalePreset.normal,
  Icon icon,
  String leftLabelText,
  String leftDataText,
  String rightLabelText,
  String rightDataText,
  FontWeight leftLabelTextFontWeight = FontWeight.normal,
  FontWeight leftDataTextFontWeight = FontWeight.normal,
  FontWeight rightLabelTextFontWeight = FontWeight.normal,
  FontWeight rightDataTextFontWeight = FontWeight.normal,
  String rightDataTextFontFamily,
  bool showHangingDivider = true,
}) : this(
        cornerRadius: cornerRadius,
        scalePreset: scalePreset,
        icon: icon,
        leftLabelText: leftLabelText,
        leftDataText: leftDataText,
        rightLabelText: rightLabelText,
        rightDataText: rightDataText,
        leftLabelTextFontWeight: leftLabelTextFontWeight,
        leftDataTextFontWeight: leftDataTextFontWeight,
        rightLabelTextFontWeight: rightLabelTextFontWeight,
        rightDataTextFontWeight: rightDataTextFontWeight,
        rightDataTextFontFamily: rightDataTextFontFamily,
        showHangingDivider: showHangingDivider,

        //Pre-configured.
        backgroundColor: Colors.black,
        leftLabelTextColor: Colors.yellow,
        leftDataTextColor: Colors.white,
        rightLabelTextColor: Colors.yellow,
        rightDataTextColor: Colors.white,
        hangingDividerColor: Colors.white,
      );

/// Constr