ConsonaImageFillConfig class
Non-destructive image fill configuration with scale mode + adjustments.
- Annotations
Constructors
- ConsonaImageFillConfig({String url = '', ConsonaImageScaleMode mode = ConsonaImageScaleMode.fill, double opacity = 100, double zoom = 130, double exposure = 0, double contrast = 0, double saturation = 0, double temperature = 0, double tint = 0, double highlights = 0, double shadows = 0, double positionX = 50, double positionY = 50, double rotation = 0, String? fileName})
-
const
Properties
- contrast → double
-
final
- exposure → double
-
final
- fileName → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlights → double
-
final
- mode → ConsonaImageScaleMode
-
final
- opacity → double
-
final
- positionX → double
-
final
- positionY → double
-
final
- rotation → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saturation → double
-
final
- shadows → double
-
final
- temperature → double
-
final
- tint → double
-
final
- url → String
-
final
- zoom → double
-
final
Methods
-
copyWith(
{String? url, ConsonaImageScaleMode? mode, double? opacity, double? zoom, double? exposure, double? contrast, double? saturation, double? temperature, double? tint, double? highlights, double? shadows, double? positionX, double? positionY, double? rotation, String? fileName}) → ConsonaImageFillConfig -
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