HaveResourceImageInput constructor
const
HaveResourceImageInput({
- required ImageInput innerInput,
- Future<
void> onRelease()?,
There are resources in these classes that need to be released.
This class is a wrapper class that will automatically release resources after use. Once released, many resources are no longer effective.
input
is the input data of ImageInput.
onRelease is the function to release the resources.
Implementation
const HaveResourceImageInput({
required this.innerInput,
this.onRelease,
});