constraints property

  1. @override
SliverConstraints get constraints
override

The layout constraints most recently supplied by the parent.

If layout has not yet happened, accessing this getter will throw a StateError exception.

Implementation

@override
SliverConstraints get constraints => super.constraints as SliverConstraints;