GalleryAsset constructor
const
GalleryAsset({
- required String id,
- required StoryMediaType type,
- required int width,
- required int height,
- Duration? duration,
Creates an asset.
Implementation
const GalleryAsset({
required this.id,
required this.type,
required this.width,
required this.height,
this.duration,
});