GrowthDirection enum
The direction in which a sliver's contents are ordered, relative to the scroll offset axis.
For example, a vertical alphabetical list that is going AxisDirection.down with a GrowthDirection.forward would have the A at the top and the Z at the bottom, with the A adjacent to the origin, as would such a list going AxisDirection.up with a GrowthDirection.reverse. On the other hand, a vertical alphabetical list that is going AxisDirection.down with a GrowthDirection.reverse would have the Z at the top (at scroll offset zero) and the A below it.
Most scroll views by default are ordered GrowthDirection.forward. Changing the default values of ScrollView.anchor, ScrollView.center, or both, can configure a scroll view for GrowthDirection.reverse.
To create a local project with this code sample, run:
            flutter create --sample=rendering.GrowthDirection.1 mysample
        
See also:
- applyGrowthDirectionToAxisDirection, which returns the direction in which the scroll offset increases.
 
Values
- forward → const GrowthDirection
 - 
  
This sliver's contents are ordered in the same direction as the AxisDirection. For example, a vertical alphabetical list that is going AxisDirection.down with a GrowthDirection.forward would have the A at the top and the Z at the bottom, with the A adjacent to the origin.
See also:
- applyGrowthDirectionToAxisDirection, which returns the direction in which the scroll offset increases.
 
 - reverse → const GrowthDirection
 - 
  
This sliver's contents are ordered in the opposite direction of the AxisDirection.
See also:
- applyGrowthDirectionToAxisDirection, which returns the direction in which the scroll offset increases.
 
 
Properties
- hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - index → int
 - 
  A numeric identifier for the enumerated value.
  no setterinherited
 - name → String
 - 
      
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 
Methods
- 
  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.
  inherited
 
Constants
- 
    values
  → const List<
GrowthDirection>  - A constant List of the values in this enum, in order of their declaration.