RectangleShape class

A rectangular shape for a floating action button or navigation bar.

This shape allows customization of the corner radius using the radius parameter. If no radius is provided, the default value is 12, creating a button with slightly rounded corners.

Inheritance

Constructors

RectangleShape({double radius = 12})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
radius double
The radius used to round the corners of the rectangle.
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