utils/constant library

Classes

ImageAssetContent
Content type for Flutter asset image injection into VAP animations.
ImageBase64Content
Content type for base64-encoded image injection into VAP animations.
ImageFileContent
Content type for local file image injection into VAP animations.
ImageURLContent
Content type for remote URL image injection into VAP animations.
TextContent
Content type for dynamic text injection into VAP animations.
VAPContent
Abstract base class for dynamic content that can be injected into VAP animations.

Enums

ScaleType
Defines how video content should be scaled within its container.
VideoOrientation
Defines the orientation of video content.

Typedefs

OnFailed = void Function(int code, String type, String? message)
Callback function for animation failure events.
OnVideoComplete = void Function()
Callback function for animation completion events.
OnVideoConfigReady = void Function(VAPConfigs configs)
Callback function for animation configuration ready events.
OnVideoDestroy = void Function()
Callback function for animation destruction events.
OnVideoRender = void Function(int frameInfo, VAPConfigs? configs)
Callback function for frame rendering events.
OnVideoStart = void Function()
Callback function for animation start events.