ClopImageForPreviewUseCase class usecase
プレビュー用に画像をクロップするユースケース。
このクラスは、提供された画像を特定のアスペクト比(3:4)にクロップします。
Constructors
- ClopImageForPreviewUseCase(ClopImageWith34RatioService _clopImageWith34RatioService)
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
-
exec(
{required XFile photo}) → Future< Uint8List> - 画像を3:4の比率でクロップして返します。
-
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