SnakeShape class
Constructors
- SnakeShape({required ShapeBorder? shape, bool? centered = true, EdgeInsets padding = EdgeInsets.zero, double? height})
-
const
Properties
- centered → bool?
-
Used to custom shapes to change bounds:
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
Snake view height
final
- padding → EdgeInsets
-
Snake view padding for each tile
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → ShapeBorder?
-
Contains a custom view shape
final
- type → SnakeShapeType?
-
Used internal for distinction defined and custom shapes
final
Methods
-
copyWith(
{ShapeBorder? shape, bool? centered, EdgeInsets? padding}) → SnakeShape -
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
- circle → const SnakeShape
- indicator → const SnakeShape
- rectangle → const SnakeShape