ImageService class
Service for analyzing and optimizing image files.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getImageInfo(
File file) → Future< ImageInfoResult> - Extracts metadata from an image file.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
optimizeImage(
File image, OptimizationConfig config, {bool? hasAlpha}) → Future< File?> - Optimizes an image file using the given configuration.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited