maybeWhen<TResult extends Object?> method
Null safety
- TResult $default(
- ScrollPhysics? parent
- {TResult rangeMaintaining(
- ScrollPhysics? parent
- TResult bouncingScroll(
- ScrollDecelerationRate decelerationRate,
- ScrollPhysics? parent
- TResult clamping(
- ScrollPhysics? parent
- TResult alwaysScrollable(
- ScrollPhysics? parent
- TResult neverScrollable(
- ScrollPhysics? parent
- TResult pageScroll(
- ScrollPhysics? parent
- TResult fixedExtent(
- ScrollPhysics? parent
- required TResult orElse(
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>(
TResult Function(ScrollPhysics? parent)? $default, {
TResult Function(ScrollPhysics? parent)? rangeMaintaining,
TResult Function(
ScrollDecelerationRate decelerationRate, ScrollPhysics? parent)?
bouncingScroll,
TResult Function(ScrollPhysics? parent)? clamping,
TResult Function(ScrollPhysics? parent)? alwaysScrollable,
TResult Function(ScrollPhysics? parent)? neverScrollable,
TResult Function(ScrollPhysics? parent)? pageScroll,
TResult Function(ScrollPhysics? parent)? fixedExtent,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;