AutomaticNotchedShape class Null safety
A NotchedShape created from ShapeBorders.
Two shapes can be provided. The host is the shape of the widget that uses the NotchedShape (typically a BottomAppBar). The guest is subtracted from the host to create the notch (typically to make room for a FloatingActionButton).
- AutomaticNotchedShape(ShapeBorder host, [ShapeBorder? guest])
Creates a NotchedShape that is defined by two ShapeBorders.
- guest → ShapeBorder?
The shape to subtract from the host to make the notch.
- hashCode → int
The hash code for this object.
- host → ShapeBorder
The shape of the widget that uses the NotchedShape (typically a
- runtimeType → Type
A representation of the runtime type of the object.
Rect hostRect, Rect? guestRect) → Path
Creates a Path that describes the outline of the shape.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
) → String
A string representation of this object.
Object other) → bool
The equality operator.