overflow property Null safety

Overflow overflow
@Deprecated('Use clipBehavior instead. See the migration guide in flutter.dev/go/clip-behavior. ' 'This feature was deprecated after v1.22.0-12.0.pre.'), final

Whether overflowing children should be clipped. See Overflow.

Some children in a stack might overflow its box. When this flag is set to Overflow.clip, children cannot paint outside of the stack's box.

When set to Overflow.visible, the visible overflow area will not accept hit testing.

This overrides clipBehavior for now due to a staged roll out. We will remove it and only use clipBehavior soon.

Deprecated. Use clipBehavior instead.

Implementation

@Deprecated(
  'Use clipBehavior instead. See the migration guide in flutter.dev/go/clip-behavior. '
  'This feature was deprecated after v1.22.0-12.0.pre.',
)
final Overflow overflow;