FFChipStyle constructor
FFChipStyle({
- FFColor? legacyBackgroundColor,
- FFText? textStyle,
- FFColor? legacyIconColor,
- double? legacyIconSize,
- FFPadding? labelPadding,
- double? legacyElevation,
- FFColor? legacyBorderColor,
- double? legacyBorderWidth,
- FFBorderRadius? borderRadius,
- FFColorValue? backgroundColorValue,
- FFColorValue? iconColorValue,
- FFDoubleValue? iconSizeValue,
- FFDoubleValue? elevationValue,
- FFColorValue? borderColorValue,
- FFDoubleValue? borderWidthValue,
Implementation
factory FFChipStyle({
FFColor? legacyBackgroundColor,
FFText? textStyle,
FFColor? legacyIconColor,
$core.double? legacyIconSize,
FFPadding? labelPadding,
$core.double? legacyElevation,
FFColor? legacyBorderColor,
$core.double? legacyBorderWidth,
FFBorderRadius? borderRadius,
FFColorValue? backgroundColorValue,
FFColorValue? iconColorValue,
FFDoubleValue? iconSizeValue,
FFDoubleValue? elevationValue,
FFColorValue? borderColorValue,
FFDoubleValue? borderWidthValue,
}) {
final result = create();
if (legacyBackgroundColor != null)
result.legacyBackgroundColor = legacyBackgroundColor;
if (textStyle != null) result.textStyle = textStyle;
if (legacyIconColor != null) result.legacyIconColor = legacyIconColor;
if (legacyIconSize != null) result.legacyIconSize = legacyIconSize;
if (labelPadding != null) result.labelPadding = labelPadding;
if (legacyElevation != null) result.legacyElevation = legacyElevation;
if (legacyBorderColor != null) result.legacyBorderColor = legacyBorderColor;
if (legacyBorderWidth != null) result.legacyBorderWidth = legacyBorderWidth;
if (borderRadius != null) result.borderRadius = borderRadius;
if (backgroundColorValue != null)
result.backgroundColorValue = backgroundColorValue;
if (iconColorValue != null) result.iconColorValue = iconColorValue;
if (iconSizeValue != null) result.iconSizeValue = iconSizeValue;
if (elevationValue != null) result.elevationValue = elevationValue;
if (borderColorValue != null) result.borderColorValue = borderColorValue;
if (borderWidthValue != null) result.borderWidthValue = borderWidthValue;
return result;
}