Inheritance
System.Object
SliverGridDelegateWithMaxCrossAxisExtent
public class SliverGridDelegateWithMaxCrossAxisExtent : SliverGridDelegate
Constructors
Declaration
public SliverGridDelegateWithMaxCrossAxisExtent(float maxCrossAxisExtent, float mainAxisSpacing = 0F, float crossAxisSpacing = 0F, float childAspectRatio = 1F)
Parameters
Type |
Name |
Description |
System.Single |
maxCrossAxisExtent |
|
System.Single |
mainAxisSpacing |
|
System.Single |
crossAxisSpacing |
|
System.Single |
childAspectRatio |
|
Fields
Declaration
public readonly float childAspectRatio
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly float crossAxisSpacing
Field Value
Type |
Description |
System.Single |
|
mainAxisSpacing
Declaration
public readonly float mainAxisSpacing
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly float maxCrossAxisExtent
Field Value
Type |
Description |
System.Single |
|
Methods
Declaration
public override SliverGridLayout getLayout(SliverConstraints constraints)
Parameters
Returns
Overrides
Declaration
public override bool shouldRelayout(SliverGridDelegate _oldDelegate)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides