PersistentHeaderShowOnScreenConfiguration constructor Null safety

const PersistentHeaderShowOnScreenConfiguration(
  1. {double minShowOnScreenExtent = double.negativeInfinity,
  2. double maxShowOnScreenExtent = double.infinity}
)

Creates an object that specifies how a pinned or floating persistent header should behave in response to RenderObject.showOnScreen calls.

Implementation

const PersistentHeaderShowOnScreenConfiguration({
  this.minShowOnScreenExtent = double.negativeInfinity,
  this.maxShowOnScreenExtent = double.infinity,
}) : assert(minShowOnScreenExtent <= maxShowOnScreenExtent);