SurfaceCorners enum

📐 SurfaceCorners

Defines very simple corner appearance options for entire Surface.

Constants

BEVEL → const SurfaceCorners

Only two diagonally-oppposite corners will be beveled by radius, while the other two remain square. Mirror the shape with bool parameter flipBevels.

const SurfaceCorners(2)
ROUND → const SurfaceCorners

All four corners will be rounded. This is default, and the default value is Surface._DEFAULT_RADIUS.

const SurfaceCorners(1)
SQUARE → const SurfaceCorners

All four corners of the rectangle are square; Surface.radius will be ignored.

const SurfaceCorners(0)
values → const List<SurfaceCorners>

A constant List of the values in this enum, in order of their declaration.

const List<SurfaceCorners>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited