AutomaticNotchShape
A notch shape created from ShapeBorder values.
It uses one shape as the outer outline and optionally subtracts a second shape
to form the notch. This is commonly used for controls such as
BottomAppBar that need to make room for a floating action button.
Inherits: NotchShape
Properties
Properties
guestclass-attributeinstance-attribute
guest: ShapeBorder | None = NoneThe shape to subtract from host to create the notch.
This is typically the shape of the control the notch should accommodate, such as
a FloatingActionButton.
If this is None, no notch is cut out even when space for a guest control is
available.
Note
The shape must not depend on text direction.
hostinstance-attribute
host: ShapeBorderThe shape of the control that uses the notch.
This is typically the outer shape of the host control, such as a
BottomAppBar.
Note
The shape must not depend on text direction.