FixedWidthVaryingHeightGridDelegate class

Layouts a grid with a fixed with but height that depends on the image

Inheritance

Constructors

FixedWidthVaryingHeightGridDelegate(GiphyGrid parent)
Creates a new grid delegate

Properties

hashCode → int
The hash code for this object.
no setterinherited
parent → GiphyGrid
The parent gid
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getLayout(SliverConstraints constraints) → SliverGridLayout
Returns information about the size and position of the tiles in the grid.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRelayout(covariant SliverGridDelegate oldDelegate) → bool
Override this method to return true when the children need to be laid out.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited