FFPadding constructor
FFPadding({
- double? legacyLeft,
- double? legacyTop,
- double? legacyRight,
- double? legacyBottom,
- double? legacyHorizontal,
- double? legacyVertical,
- double? legacyAll,
- FFPadding_PaddingType? type,
- FFDoubleValue? leftValue,
- FFDoubleValue? topValue,
- FFDoubleValue? rightValue,
- FFDoubleValue? bottomValue,
- FFDoubleValue? horizontalValue,
- FFDoubleValue? verticalValue,
- FFDoubleValue? allValue,
- FFAnimatedPadding? animatedPadding,
- FFIdentifier? themeSpacingToken,
Implementation
factory FFPadding({
$core.double? legacyLeft,
$core.double? legacyTop,
$core.double? legacyRight,
$core.double? legacyBottom,
$core.double? legacyHorizontal,
$core.double? legacyVertical,
$core.double? legacyAll,
FFPadding_PaddingType? type,
FFDoubleValue? leftValue,
FFDoubleValue? topValue,
FFDoubleValue? rightValue,
FFDoubleValue? bottomValue,
FFDoubleValue? horizontalValue,
FFDoubleValue? verticalValue,
FFDoubleValue? allValue,
FFAnimatedPadding? animatedPadding,
FFIdentifier? themeSpacingToken,
}) {
final result = create();
if (legacyLeft != null) result.legacyLeft = legacyLeft;
if (legacyTop != null) result.legacyTop = legacyTop;
if (legacyRight != null) result.legacyRight = legacyRight;
if (legacyBottom != null) result.legacyBottom = legacyBottom;
if (legacyHorizontal != null) result.legacyHorizontal = legacyHorizontal;
if (legacyVertical != null) result.legacyVertical = legacyVertical;
if (legacyAll != null) result.legacyAll = legacyAll;
if (type != null) result.type = type;
if (leftValue != null) result.leftValue = leftValue;
if (topValue != null) result.topValue = topValue;
if (rightValue != null) result.rightValue = rightValue;
if (bottomValue != null) result.bottomValue = bottomValue;
if (horizontalValue != null) result.horizontalValue = horizontalValue;
if (verticalValue != null) result.verticalValue = verticalValue;
if (allValue != null) result.allValue = allValue;
if (animatedPadding != null) result.animatedPadding = animatedPadding;
if (themeSpacingToken != null) result.themeSpacingToken = themeSpacingToken;
return result;
}