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