Image class

An implementation of <img />.

Inheritance

Constructors

Image(String source, {String? alternativeText, EventListener? onPointerDown, EventListener? onPointerUp, EventListener? onPointerEnter, EventListener? onPointerLeave, EventListener? onPress, Style? style, Animation? animation, String? key})
const

Properties

alternativeText String?
final
animation Animation?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
key String?
Keys are used in distinguishing unique widgets in the diffing process. It also can be used to perform animations on a widget on every rebuild.
finalinherited
onPointerDown EventListener?
finalinherited
onPointerEnter EventListener?
finalinherited
onPointerLeave EventListener?
finalinherited
onPointerUp EventListener?
finalinherited
onPress EventListener?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String
final
style Style?
finalinherited

Methods

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