GridViewObserveDisplayingChildModel class

Inheritance
Mixed in types

Constructors

GridViewObserveDisplayingChildModel({required RenderSliverMultiBoxAdaptor sliverGrid, required RenderViewportBase<ContainerParentDataMixin<RenderSliver>> viewport, required int index, required RenderBox renderObject})

Properties

axis Axis
The axis of sliver.
no setterinherited
displayPercentage double
The display percentage of the current widget
no setterinherited
hashCode int
The hash code for this object.
no setteroverride
index int
The index of child widget.
getter/setter pairinherited
layoutOffset double
The layout offset of child widget.
no setterinherited
leadingMarginToViewport double
The margin from the top of the child widget to the viewport.
no setterinherited
mainAxisSize double
The size of child widget on the main axis.
no setterinherited
overlap double
The overlap of sliver
no setterinherited
precedingScrollExtent double
The precedingScrollExtent of sliver
no setterinherited
renderObject RenderBox
The renderObject RenderBox of child widget.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollOffset double
The scroll offset of sliver
no setterinherited
size Size
The size of child widget.
no setterinherited
sliver RenderSliver
The target sliverList.
getter/setter pairinherited
sliverGrid RenderSliverMultiBoxAdaptor
The target sliverGrid
getter/setter pair
trailingMarginToViewport double
The margin from the bottom of the child widget to the viewport.
no setterinherited
viewport RenderViewportBase<ContainerParentDataMixin<RenderSliver>>
The viewport of sliver.
getter/setter pairinherited
viewportHasPixels bool
Whether the pixels property of viewport is available.
no setterinherited
viewportMainAxisExtent double
The number of pixels the viewport can display in the main axis.
no setterinherited
viewportPixels double
The number of pixels the viewport can display in the main axis.
no setterinherited

Methods

calculateDisplayPercentage() double
Calculates the display percentage of the current widget
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override