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

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
hashCode int
The hash code for this object.
read-onlyinherited
host ShapeBorder
The shape of the widget that uses the NotchedShape (typically a BottomAppBar).
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited