AutomaticNotchedShape class

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).

Inheritance

Constructors

AutomaticNotchedShape(ShapeBorder host, [ ShapeBorder guest ])
Creates a NotchedShape that is defined by two ShapeBorders. [...]
const

Properties

guest ShapeBorder
The shape to subtract from the host to make the notch. [...]
final
host ShapeBorder
The shape of the widget that uses the NotchedShape (typically a BottomAppBar). [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getOuterPath(Rect hostRect, Rect guestRect) Path
Creates a Path that describes the outline of the shape. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited