constrained property

bool constrained
final

When true (default), the child stays within the viewport. When false, the child can be panned outside the viewport bounds.

Implementation

final bool constrained;