mapOrNull<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
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<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,
}) =>
throw _privateConstructorUsedError;