ImageLoader class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
loadImageByFile(
File file, {int? width, int? height}) → Future< Image> - 通过文件读取Image
-
loadImageByFilePath(
String path, {int? width, int? height}) → Future< Image> - 通过文件路径读取Image
-
loadImageByUint8List(
Uint8List list, {int? width, int? height}) → Future< Image> - 通过Uint8List获取图片
-
loadUint8ListByImage(
Image image) → Future< Uint8List?> - 通过ui.Image获取图片
-
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
- loader → ImageLoader
-
final