Inheritance
System.Object
SliverGridDelegateWithFixedCrossAxisCount
public class SliverGridDelegateWithFixedCrossAxisCount : SliverGridDelegate
Constructors
Declaration
public SliverGridDelegateWithFixedCrossAxisCount(int crossAxisCount, float mainAxisSpacing = 0F, float crossAxisSpacing = 0F, float childAspectRatio = 1F)
Parameters
Type |
Name |
Description |
System.Int32 |
crossAxisCount |
|
System.Single |
mainAxisSpacing |
|
System.Single |
crossAxisSpacing |
|
System.Single |
childAspectRatio |
|
Fields
Declaration
public readonly float childAspectRatio
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly int crossAxisCount
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public readonly float crossAxisSpacing
Field Value
Type |
Description |
System.Single |
|
mainAxisSpacing
Declaration
public readonly float mainAxisSpacing
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