maybeMap<TResult extends Object?> method
Null safety
- TResult $default(
- _ScrollPhysics value
- {TResult rangeMaintaining( )?,
- TResult bouncingScroll( )?,
- TResult clamping(
- ClampingScrollPhysics value
- TResult alwaysScrollable( )?,
- TResult neverScrollable( )?,
- TResult pageScroll(
- PageScrollPhysics value
- TResult fixedExtent(
- FixedExtentScrollPhysics value
- required TResult orElse(
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>(
TResult Function(_ScrollPhysics value)? $default, {
TResult Function(RangeMaintainingScrollPhysics value)? rangeMaintaining,
TResult Function(BouncingScrollScrollPhysics value)? bouncingScroll,
TResult Function(ClampingScrollPhysics value)? clamping,
TResult Function(AlwaysScrollableScrollPhysics value)? alwaysScrollable,
TResult Function(NeverScrollableScrollPhysics value)? neverScrollable,
TResult Function(PageScrollPhysics value)? pageScroll,
TResult Function(FixedExtentScrollPhysics value)? fixedExtent,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;