SquircleShape class

A squircle (superellipse) shape for a floating action button or navigation bar.

This shape uses a continuous curve for the border, offering a modern look. The corner rounding can be customized using the radius property, with a default value of 24.

Inheritance

Constructors

SquircleShape({double radius = 24})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
radius double
The radius used to round the squircle corners.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shapeBorder ShapeBorder
A ShapeBorder that represents the specific shape.
no setteroverride

Methods

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