ConvexNotchedRectangle class

A convex shape which implemented NotchedShape.

It's used to draw a convex shape for ConvexAppBar, If you are interested about the math calculation, please refer to CircularNotchedRectangle, it's based on Bezier curve;

See also:

Inheritance

Constructors

ConvexNotchedRectangle.new({double radius = 0})
Create Shape instance
const

Properties

hashCode int
The hash code for this object.
no setterinherited
radius double
Draw the background with topLeft and topRight corner
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getOuterPath(Rect host, Rect? guest) Path
Creates a Path that describes the outline of the shape.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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