Flutter
widgets
ScrollPosition
hasPixels property
hasPixels
description
hasPixels
property
Null safety
bool
hasPixels
override
Whether the
pixels
property is available.
Implementation
@override bool get hasPixels => _pixels != null;
Flutter
widgets
ScrollPosition
hasPixels property
ScrollPosition class
Constructors
ScrollPosition
Properties
activity
allowImplicitScrolling
atEdge
axis
axisDirection
context
debugLabel
extentAfter
extentBefore
extentInside
hasContentDimensions
hashCode
hasListeners
hasPixels
hasViewportDimension
haveDimensions
isScrollingNotifier
keepScrollOffset
maxScrollExtent
minScrollExtent
outOfRange
physics
pixels
runtimeType
userScrollDirection
viewportDimension
Methods
absorb
addListener
animateTo
applyBoundaryConditions
applyContentDimensions
applyNewDimensions
applyViewportDimension
beginActivity
copyWith
correctBy
correctForNewDimensions
correctPixels
debugFillDescription
didEndScroll
didOverscrollBy
didStartScroll
didUpdateScrollDirection
didUpdateScrollMetrics
didUpdateScrollPositionBy
dispose
drag
ensureVisible
forcePixels
hold
jumpTo
jumpToWithoutSettling
moveTo
noSuchMethod
notifyListeners
pointerScroll
recommendDeferredLoading
removeListener
restoreOffset
restoreScrollOffset
saveOffset
saveScrollOffset
setPixels
toString
Operators
operator ==