discontinuedPackage oghref_model has been discontinued.

ImageInfo class final

Display thumbnail of website with given image.

This object does not verify the format of image is supported or not.

Implemented types
Available extensions
Annotations
  • @immutable

Constructors

ImageInfo({Uri? url, Uri? secureUrl, String? type, double? width, double? height, String? alt})
Create image metadata information.

Properties

alt → String?
An optional String describe an image for accessibility.
final
hashCode → int
The hash code for this object.
no setterinherited
height → double?
Height of visual.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secureUrl → Uri?
Link to resources using HTTPS.
final
type → String?
MIME type of given media.
final
url → Uri?
Link to resources.
final
width → double?
Width of visual.
final

Methods

determineContentTypes() → Future<UrlInfoContentTypeResult>

Available on UrlInfo, provided by the UrlInfoContentTypeResolver extension

Resolve content type of this UrlInfo.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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