DotGridConfig class
Dot grid mesh / starfield parameters shared by all Termos widgets.
Constructors
- DotGridConfig({double dotSize = 2.0, double spacing = 6.0, double blobRadius = 100.0})
-
const
Properties
- blobRadius → double
-
Blob radius for mesh gradient feedback (tap/hover).
final
- dotSize → double
-
Size of each dot in logical pixels.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spacing → double
-
Gap between dot centers (grid spacing).
final
- totalSpacing → double
-
Total cell size: dotSize + spacing (aligned to 4/8/16 grid when using defaults).
no setter
Methods
-
copyWith(
{double? dotSize, double? spacing, double? blobRadius}) → DotGridConfig -
lerp(
DotGridConfig other, double t) → DotGridConfig -
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.
override