RangeMaintainingScrollPhysics class Null safety
- Implemented types
Constructors
- RangeMaintainingScrollPhysics({ScrollPhysics? parent})
-
constfactory
-
RangeMaintainingScrollPhysics.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ _$$RangeMaintainingScrollPhysicsCopyWith<
_$RangeMaintainingScrollPhysics> -
@JsonKey(ignore: true), read-only, override
- hashCode → int
-
The hash code for this object.
read-only, inherited
- parent → ScrollPhysics?
-
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
map<
TResult extends Object?> (TResult $default(_ScrollPhysics value), {required TResult rangeMaintaining(RangeMaintainingScrollPhysics value), required TResult bouncingScroll(BouncingScrollScrollPhysics value), required TResult clamping(ClampingScrollPhysics value), required TResult alwaysScrollable(AlwaysScrollableScrollPhysics value), required TResult neverScrollable(NeverScrollableScrollPhysics value), required TResult pageScroll(PageScrollPhysics value), required TResult fixedExtent(FixedExtentScrollPhysics value)}) → TResult -
@optionalTypeArgs, inherited
-
mapOrNull<
TResult extends Object?> (TResult? $default(_ScrollPhysics value)?, {TResult? rangeMaintaining(RangeMaintainingScrollPhysics value)?, TResult? bouncingScroll(BouncingScrollScrollPhysics value)?, TResult? clamping(ClampingScrollPhysics value)?, TResult? alwaysScrollable(AlwaysScrollableScrollPhysics value)?, TResult? neverScrollable(NeverScrollableScrollPhysics value)?, TResult? pageScroll(PageScrollPhysics value)?, TResult? fixedExtent(FixedExtentScrollPhysics value)?}) → TResult? -
@optionalTypeArgs, inherited
-
maybeMap<
TResult extends Object?> (TResult $default(_ScrollPhysics value)?, {TResult rangeMaintaining(RangeMaintainingScrollPhysics value)?, TResult bouncingScroll(BouncingScrollScrollPhysics value)?, TResult clamping(ClampingScrollPhysics value)?, TResult alwaysScrollable(AlwaysScrollableScrollPhysics value)?, TResult neverScrollable(NeverScrollableScrollPhysics value)?, TResult pageScroll(PageScrollPhysics value)?, TResult fixedExtent(FixedExtentScrollPhysics value)?, required TResult orElse()}) → TResult -
@optionalTypeArgs, inherited
-
maybeWhen<
TResult extends Object?> (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()}) → TResult -
@optionalTypeArgs, inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(ScrollPhysics? parent), {required TResult rangeMaintaining(ScrollPhysics? parent), required TResult bouncingScroll(ScrollDecelerationRate decelerationRate, ScrollPhysics? parent), required TResult clamping(ScrollPhysics? parent), required TResult alwaysScrollable(ScrollPhysics? parent), required TResult neverScrollable(ScrollPhysics? parent), required TResult pageScroll(ScrollPhysics? parent), required TResult fixedExtent(ScrollPhysics? parent)}) → TResult -
@optionalTypeArgs, inherited
-
whenOrNull<
TResult extends Object?> (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)?}) → TResult? -
@optionalTypeArgs, inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited