Image class
Constructors
-
Image({Key? key, required String src, int? width, int? height, String? alt, Map<String, String>? attributes})
-
const
-
Image.asset({required String path, Unit? width, Unit? height, String? alt, Map<String, String>? attributes})
-
factory
-
Image.network({required String src, Unit? width, Unit? height, String? alt, Map<String, String>? attributes})
-
factory
Methods
-
build(BuildContext context)
→ Iterable<Component>
-
Describes the part of the user interface represented by this component.
-
createElement()
→ Element
-
Creates a
StatelessElement to manage this component's location in the tree.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldRebuild(covariant Component newComponent)
→ bool
-
Implement this method to determine whether a rebuild can be skipped.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited