Inheritance
System.Object
SliverGridRegularTileLayout
 
public class SliverGridRegularTileLayout : SliverGridLayout
 
Constructors
  
Declaration
public SliverGridRegularTileLayout(int? crossAxisCount = default(int? ), float? mainAxisStride = default(float? ), float? crossAxisStride = default(float? ), float? childMainAxisExtent = default(float? ), float? childCrossAxisExtent = default(float? ), bool? reverseCrossAxis = default(bool? ))
 
Parameters
| Type | Name | Description | 
| System.Nullable<System.Int32> | crossAxisCount |  | 
| System.Nullable<System.Single> | mainAxisStride |  | 
| System.Nullable<System.Single> | crossAxisStride |  | 
| System.Nullable<System.Single> | childMainAxisExtent |  | 
| System.Nullable<System.Single> | childCrossAxisExtent |  | 
| System.Nullable<System.Boolean> | reverseCrossAxis |  | 
Fields
  
Declaration
public readonly float? childCrossAxisExtent
 
Field Value
| Type | Description | 
| System.Nullable<System.Single> |  | 
childMainAxisExtent
Declaration
public readonly float? childMainAxisExtent
 
Field Value
| Type | Description | 
| System.Nullable<System.Single> |  | 
Declaration
public readonly int? crossAxisCount
 
Field Value
| Type | Description | 
| System.Nullable<System.Int32> |  | 
Declaration
public readonly float? crossAxisStride
 
Field Value
| Type | Description | 
| System.Nullable<System.Single> |  | 
mainAxisStride
Declaration
public readonly float? mainAxisStride
 
Field Value
| Type | Description | 
| System.Nullable<System.Single> |  | 
Declaration
public readonly bool? reverseCrossAxis
 
Field Value
| Type | Description | 
| System.Nullable<System.Boolean> |  | 
Methods
  
Declaration
public override float computeMaxScrollOffset(int childCount)
 
Parameters
| Type | Name | Description | 
| System.Int32 | childCount |  | 
Returns
| Type | Description | 
| System.Single |  | 
Overrides
Declaration
public override SliverGridGeometry getGeometryForChildIndex(int index)
 
Parameters
| Type | Name | Description | 
| System.Int32 | index |  | 
Returns
Overrides
Declaration
public override int getMaxChildIndexForScrollOffset(float scrollOffset)
 
Parameters
| Type | Name | Description | 
| System.Single | scrollOffset |  | 
Returns
| Type | Description | 
| System.Int32 |  | 
Overrides
Declaration
public override int getMinChildIndexForScrollOffset(float scrollOffset)
 
Parameters
| Type | Name | Description | 
| System.Single | scrollOffset |  | 
Returns
| Type | Description | 
| System.Int32 |  | 
Overrides