ScatterSpot class
Defines information about a spot in the ScatterChart
Constructors
- ScatterSpot(double x, double y, {bool? show, double? radius, Color? color})
-
You can change
show
value to show or hide the spot,x
, andy
defines the location of spot in the ScatterChart,radius
defines the size of spot, andcolor
defines the color of it.
Properties
- color ↔ Color
-
Determines color of the spot.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
Used for equality check, see
EquatableMixin
.no setteroverride - radius → double
-
Determines size of the spot.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- show → bool
-
Determines show or hide the spot.
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - x → double
-
finalinherited
- y → double
-
finalinherited
Methods
-
copyWith(
{double? x, double? y, bool? show, double? radius, Color? color}) → ScatterSpot -
Copies current AFlSpot to a new AFlSpot,
and replaces provided values.
override
-
isNotNull(
) → bool -
Determines if x and y is not null.
inherited
-
isNull(
) → bool -
Determines if x or y is null.
inherited
-
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
Static Methods
-
lerp(
ScatterSpot a, ScatterSpot b, double t) → ScatterSpot -
Lerps a ScatterSpot based on
t
value, check Tween.lerp.override