FFPageView constructor
FFPageView({
- FFDimensions? dimensions,
- FFAxis? scrollDirection,
- FFPadding? margin,
- FFPageViewIndicatorOptions? indicatorOptions,
- bool? allowScrolling,
- int? legacyInitialPageIndex,
- bool? updatePageOnSwipe,
- FFIntegerValue? initialPageIndexValue,
Implementation
factory FFPageView({
FFDimensions? dimensions,
FFAxis? scrollDirection,
FFPadding? margin,
FFPageViewIndicatorOptions? indicatorOptions,
$core.bool? allowScrolling,
$core.int? legacyInitialPageIndex,
$core.bool? updatePageOnSwipe,
FFIntegerValue? initialPageIndexValue,
}) {
final result = create();
if (dimensions != null) result.dimensions = dimensions;
if (scrollDirection != null) result.scrollDirection = scrollDirection;
if (margin != null) result.margin = margin;
if (indicatorOptions != null) result.indicatorOptions = indicatorOptions;
if (allowScrolling != null) result.allowScrolling = allowScrolling;
if (legacyInitialPageIndex != null)
result.legacyInitialPageIndex = legacyInitialPageIndex;
if (updatePageOnSwipe != null) result.updatePageOnSwipe = updatePageOnSwipe;
if (initialPageIndexValue != null)
result.initialPageIndexValue = initialPageIndexValue;
return result;
}