SnappingBehavior constructor

SnappingBehavior({
  1. bool clipByHeader = true,
})

Base constructor for a SnappingBehavior class.

The clipByHeader parameter determines whether the max offset should be clipped by the header.

  • clipByHeader: If true, should clip max offset to always show header. Defaults to true.

Implementation

SnappingBehavior({this.clipByHeader = true});