SceneCorners class
A node's corner radii, one per corner, clockwise from the top left.
corner: 16 is still what most nodes want and still what the file
spells for them; a tab that is square along its bottom names its
corners, the way a padding names its sides.
- Implemented types
- Available extensions
Constructors
- SceneCorners({double topLeft = 0, double topRight = 0, double bottomRight = 0, double bottomLeft = 0})
-
const
- SceneCorners.all(double value)
-
const
Properties
- bottomLeft → double
-
final
- bottomRight → double
-
final
- flutter → BorderRadius
-
Available on SceneCorners, provided by the SceneCornersToFlutter extension
no setter - hashCode → int
-
The hash code for this object.
no setteroverride
- isUniform → bool
-
no setteroverride
- isZero → bool
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sides
→ List<
double> -
The four parts, in the order the file names them.
no setteroverride
- topLeft → double
-
final
- topRight → double
-
final
Methods
-
copyWith(
{double? topLeft, double? topRight, double? bottomRight, double? bottomLeft}) → SceneCorners -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
toWire(
) → Object -
The one number when they agree, the four otherwise.
override
-
withSide(
int index, double value) → SceneCorners -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromWire(
Object? value) → SceneCorners
Constants
- zero → const SceneCorners