CircularNotchedAndCorneredRectangleClipper class

Inheritance

Constructors

CircularNotchedAndCorneredRectangleClipper({required ValueListenable<ScaffoldGeometry> geometry, required NotchedShape shape, required double notchMargin})

Properties

geometry ValueListenable<ScaffoldGeometry>
final
hashCode int
The hash code for this object.
no setterinherited
notchMargin double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape NotchedShape
final

Methods

addListener(VoidCallback listener) → void
Register a closure to be notified when it is time to reclip.
inherited
getApproximateClipRect(Size size) Rect
Returns an approximation of the clip returned by getClip, as an axis-aligned Rect. This is used by the semantics layer to determine whether widgets should be excluded.
inherited
getClip(Size size) Path
The getClip method is called whenever the custom clip needs to be updated.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies when it is time to reclip.
inherited
shouldReclip(covariant CircularNotchedAndCorneredRectangleClipper oldClipper) bool
The shouldReclip method is called when a new instance of the class is provided, to check if the new instance actually represents different information.
override
toString() String
A string representation of this object.
inherited

Operators

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