FFDivider constructor

FFDivider({
  1. double? legacyHeight,
  2. double? legacyThickness,
  3. FFColor? legacyColor,
  4. double? legacyIndent,
  5. double? legacyEndIndent,
  6. FFDividerLineStyle? lineStyle,
  7. double? legacyWidth,
  8. FFDoubleValue? heightValue,
  9. FFDoubleValue? thicknessValue,
  10. FFColorValue? colorValue,
  11. FFDoubleValue? indentValue,
  12. FFDoubleValue? endIndentValue,
  13. FFDoubleValue? widthValue,
})

Implementation

factory FFDivider({
  $core.double? legacyHeight,
  $core.double? legacyThickness,
  FFColor? legacyColor,
  $core.double? legacyIndent,
  $core.double? legacyEndIndent,
  FFDividerLineStyle? lineStyle,
  $core.double? legacyWidth,
  FFDoubleValue? heightValue,
  FFDoubleValue? thicknessValue,
  FFColorValue? colorValue,
  FFDoubleValue? indentValue,
  FFDoubleValue? endIndentValue,
  FFDoubleValue? widthValue,
}) {
  final result = create();
  if (legacyHeight != null) result.legacyHeight = legacyHeight;
  if (legacyThickness != null) result.legacyThickness = legacyThickness;
  if (legacyColor != null) result.legacyColor = legacyColor;
  if (legacyIndent != null) result.legacyIndent = legacyIndent;
  if (legacyEndIndent != null) result.legacyEndIndent = legacyEndIndent;
  if (lineStyle != null) result.lineStyle = lineStyle;
  if (legacyWidth != null) result.legacyWidth = legacyWidth;
  if (heightValue != null) result.heightValue = heightValue;
  if (thicknessValue != null) result.thicknessValue = thicknessValue;
  if (colorValue != null) result.colorValue = colorValue;
  if (indentValue != null) result.indentValue = indentValue;
  if (endIndentValue != null) result.endIndentValue = endIndentValue;
  if (widthValue != null) result.widthValue = widthValue;
  return result;
}