FlatListItem.darkWave constructor

FlatListItem.darkWave({@required BuildContext context, int indexInList: 0, double cornerRadius: 0.0, ScalePreset scalePreset: ScalePreset.normal, Icon icon, String leftLabelText: 'left title', String leftDataText: 'left subtitle', String rightLabelText: 'right title', String rightDataText: 'right subtitle', FontWeight leftLabelTextFontWeight: FontWeight.normal, FontWeight leftDataTextFontWeight: FontWeight.normal, FontWeight rightLabelTextFontWeight: FontWeight.normal, FontWeight rightDataTextFontWeight: FontWeight.normal, bool showHangingDivider: true, OnItemTap onTap })

Constructs a FlatListItem with dark background and rightDataText with 'Merienda' Font.

Implementation

FlatListItem.darkWave({
  @required BuildContext context,
  int indexInList = 0,
  double cornerRadius = 0.0,
  ScalePreset scalePreset = ScalePreset.normal,
  Icon icon,
  String leftLabelText = 'left title',
  String leftDataText = 'left subtitle',
  String rightLabelText = 'right title',
  String rightDataText = 'right subtitle',
  FontWeight leftLabelTextFontWeight = FontWeight.normal,
  FontWeight leftDataTextFontWeight = FontWeight.normal,
  FontWeight rightLabelTextFontWeight = FontWeight.normal,
  FontWeight rightDataTextFontWeight = FontWeight.normal,
  bool showHangingDivider = true,
  OnItemTap onTap,
}) : this(
        context: context,
        indexInList: indexInList,
        cornerRadius: cornerRadius,
        scalePreset: scalePreset,
        icon: icon,
        leftLabelText: leftLabelText,
        leftDataText: leftDataText,
        rightLabelText: rightLabelText,
        rightDataText: rightDataText,
        leftLabelTextFontWeight: leftLabelTextFontWeight,
        leftDataTextFontWeight: leftDataTextFontWeight,
        rightLabelTextFontWeight: rightLabelTextFontWeight,
        rightDataTextFontWeight: rightDataTextFontWeight,
        showHangingDivider: showHangingDivider,
        onTap: onTap,

        //Pre-configured fields. Color = LightGreen.
        backgroundColor: Colors.black,
        leftLabelTextColor: Colors.blue,
        leftDataTextColor: Colors.green,
        rightLabelTextColor: Colors.blue,
        rightDataTextColor: Colors.green,
        fontFamily: 'Merienda',
        hangingDividerColor: Colors.black,
      );