NeumorphicBoxShape class

Define a Neumorphic container box shape

Constructors

NeumorphicBoxShape.beveled(BorderRadius borderRadius)
Creates a beveled rectangle box shape with specified border radius
NeumorphicBoxShape.circle()
Creates a circular box shape
const
NeumorphicBoxShape.path(NeumorphicPathProvider pathProvider)
Creates a custom path-based box shape
const
NeumorphicBoxShape.rect()
Creates a rectangular box shape
const
NeumorphicBoxShape.roundRect(BorderRadius borderRadius)
Creates a rounded rectangle box shape with specified border radius
NeumorphicBoxShape.stadium()
Creates a stadium-shaped (capsule) box shape

Properties

customShapePathProvider → NeumorphicPathProvider
final
hashCode → int
The hash code for this object.
no setterinherited
isBeveled → bool
Checks if the shape is a beveled rectangle
no setter
isCircle → bool
Checks if the shape is a circle
no setter
isCustomPath → bool
Checks if the shape is a custom path
no setter
isRect → bool
Checks if the shape is a rectangle
no setter
isRoundRect → bool
Checks if the shape is a rounded rectangle
no setter
isStadium → bool
Checks if the shape is a stadium (capsule)
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

lerp(NeumorphicBoxShape? a, NeumorphicBoxShape? b, double t) → NeumorphicBoxShape?
Interpolates between two NeumorphicBoxShape instances