RoundRectShape class
- Inheritance
- Mixed-in types
Constructors
- RoundRectShape({BorderRadius borderRadius = const BorderRadius.all(Radius.circular(12)), double borderWidth = 0.0, Color borderColor = const Color(0xffffffff)})
Properties
- borderColor → Color
-
final
- borderPaint → Paint
-
final
- borderRadius → BorderRadius
-
final
- borderWidth → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
{Rect? rect, double? scale}) → Path -
override
-
drawBorder(
Canvas canvas, Rect rect) → void -
override
-
generatePath(
{required bool useBezier, required Rect rect}) → Path -
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