overflowMode property

OverflowMode overflowMode
final

Controls what happens with content that overflows the background's area.

Defaults to OverflowMode.ignore.

Important consideration: if your content is overflowing the inner area, it will catch hit events and if you do not handle these correctly, the user might not be able to dismiss your feature overlay by tapping outside of the circle. If you use OverflowMode.clipContent, the package takes care of hit testing and allows the user to tap outside the circle even if your content would appear there without clipping.

See also:

  • OverflowMode, which has explanations for the different modes.

Implementation

final OverflowMode overflowMode;