Shape enum

Controls the shape of the fixed-dot as well as the indicator.

Inheritance

Constructors

Shape()
const

Values

circle → const Shape
square → const Shape
rectangle → const Shape
stadium → const Shape

A shape that resembles a baseball stadium. See here for more information.

squircle → const Shape

A squircle is a shape that is intermediate between a square and a circle. See here for more information.

pipe → const Shape

Horizontal butt edged pipes.

pipe2 → const Shape

Vertical round edged pipes, if the direction is Axis.horizontal and horizontal round edged pies, if the direction is Axis.vertical.

ring → const Shape

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

values → const List<Shape>
A constant List of the values in this enum, in order of their declaration.