FFPageViewIndicatorOptions constructor
FFPageViewIndicatorOptions({
- bool? hasIndicator,
- FFAlignment? alignment,
- FFPadding? indicatorPadding,
- double? expansionFactor,
- double? legacySpacing,
- double? legacyBorderRadius,
- double? legacyDotWidth,
- double? legacyDotHeight,
- FFColor? legacyInactiveColor,
- FFColor? legacyActiveColor,
- bool? outline,
- FFDoubleValue? spacingValue,
- FFDoubleValue? borderRadiusValue,
- FFDoubleValue? dotWidthValue,
- FFDoubleValue? dotHeightValue,
- FFColorValue? inactiveColorValue,
- FFColorValue? activeColorValue,
Implementation
factory FFPageViewIndicatorOptions({
$core.bool? hasIndicator,
FFAlignment? alignment,
FFPadding? indicatorPadding,
$core.double? expansionFactor,
$core.double? legacySpacing,
$core.double? legacyBorderRadius,
$core.double? legacyDotWidth,
$core.double? legacyDotHeight,
FFColor? legacyInactiveColor,
FFColor? legacyActiveColor,
$core.bool? outline,
FFDoubleValue? spacingValue,
FFDoubleValue? borderRadiusValue,
FFDoubleValue? dotWidthValue,
FFDoubleValue? dotHeightValue,
FFColorValue? inactiveColorValue,
FFColorValue? activeColorValue,
}) {
final result = create();
if (hasIndicator != null) result.hasIndicator = hasIndicator;
if (alignment != null) result.alignment = alignment;
if (indicatorPadding != null) result.indicatorPadding = indicatorPadding;
if (expansionFactor != null) result.expansionFactor = expansionFactor;
if (legacySpacing != null) result.legacySpacing = legacySpacing;
if (legacyBorderRadius != null)
result.legacyBorderRadius = legacyBorderRadius;
if (legacyDotWidth != null) result.legacyDotWidth = legacyDotWidth;
if (legacyDotHeight != null) result.legacyDotHeight = legacyDotHeight;
if (legacyInactiveColor != null)
result.legacyInactiveColor = legacyInactiveColor;
if (legacyActiveColor != null) result.legacyActiveColor = legacyActiveColor;
if (outline != null) result.outline = outline;
if (spacingValue != null) result.spacingValue = spacingValue;
if (borderRadiusValue != null) result.borderRadiusValue = borderRadiusValue;
if (dotWidthValue != null) result.dotWidthValue = dotWidthValue;
if (dotHeightValue != null) result.dotHeightValue = dotHeightValue;
if (inactiveColorValue != null)
result.inactiveColorValue = inactiveColorValue;
if (activeColorValue != null) result.activeColorValue = activeColorValue;
return result;
}