GlassParams class
Glass parameter
Constructors
- GlassParams({Offset? startingPosition, required int diameter, double magnification = 1.0, double distortion = 1.0, EdgeInsets padding = EdgeInsets.zero})
Properties
- diameter ↔ int
-
glass diameter
getter/setter pair
- distortion ↔ double
-
Barrel/Pincushion distortion power
0 means no distortion
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- magnification ↔ double
-
glass magnification.
1 means no magnification
getter/setter pair
- padding → EdgeInsets
-
Padding surrounding the glass to enlarge touching area
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startingPosition ↔ Offset?
-
start position where the glass is positioned
getter/setter pair
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