StevensTouchScaleResolver class

A TouchScaleResolver that applies Stevens' Power Law for perceptually balanced scaling.

Inheritance

Constructors

StevensTouchScaleResolver({double exponent = 0.4, double referenceSize = 100.0, double scalingFactor = 0.15})
const

Properties

exponent double
Power law exponent for touch perception.
final
hashCode int
The hash code for this object.
no setterinherited
referenceSize double
Reference size in pixels for scaling calculations.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scalingFactor double
Scaling multiplier to control overall effect intensity.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
transform(Size size, double scale) double
Calculates the scale to apply based on the intrinsic widget size.
override

Operators

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