duration property
Duration of video, unit is second.
If type is AssetType.image, then it's value is 0.
Also see videoDuration
Implementation
int duration;
Duration of video, unit is second.
If type is AssetType.image, then it's value is 0.
Also see videoDuration
int duration;