MediaUtils class Null safety

Media utils.

Constructors

MediaUtils()

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

getTemporaryUri({String prefix = "", String suffix = ""}) → Future<Uri>
Gets temporary uri.
getUploadFilename(Uri uri, {String prefix = "", String suffix = ""}) → String
Gets upload filename.
scaleImage(Image? image, {bool? fitCenter}) → Widget
Scales image.
scaleVideo(VideoPlayer? videoPlayer, {bool? fitCenter}) → Widget
Scales video.
tryAutoPlayMedia(List<MediaViewerWidget> widgets) → Future<void>
Tries auto play media.
tryAutoStopMedia(List<MediaViewerWidget> widgets) → Future<void>
Tries auto stop media.