Picture class

Constructors

Picture.asset(String? path)
Define a new Picture with a reference to a local asset file. path is the file path of the target file.
Picture.library(IconData? data)
Define a new Picture with a reference to an Icons or CupertinoIcons data.
Picture.network(String? src)
Define a new Picture with a reference to a URL link ie src.

Properties

data IconData?
final
hashCode int
The hash code for this object.
no setterinherited
path String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
src String?
final

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

Static Properties

error Picture
no setter