deltaFactor property
A factor that determines the speed at which the child widget's visibility changes when scrolling occurs.
The deltaFactor
value should be a double between 0.0 and 1.0, where:
- 0.0 indicates that the child widget's visibility won't change when scrolling.
- 1.0 indicates that the child widget's visibility will change rapidly when scrolling.
A lower deltaFactor
value results in a slower change in visibility, making the
child widget's hiding/revealing behavior more gradual. Conversely, a higher value
makes the change in visibility more immediate.
The default value is 0.04, which provides a moderate speed of visibility change.
Implementation
final double deltaFactor;