FFImageFactory class
Constructors
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
-
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 Methods
-
asset(
String path, {BoxFit? fit}) → Image - asset图片
-
cacheNetWork(
String? path, {BoxFit? fit = BoxFit.contain, Widget? defaultWidget, dynamic loadErr()?}) → Widget - 网络图片,带缓存
-
cacheNetWork_imageBuilder(
String path, {Widget imageBuilder(BuildContext, ImageProvider< Object> )?}) → Widget - 网络图片,带缓存
-
file(
String path) → Image - 沙盒图片
-
netWork(
String? path) → Widget - 网络图片
-
networkFirstThenLocal(
String? path, {BoxFit? fit = BoxFit.contain, Widget? defaultWidget}) → Widget - 优先网络图片,带缓存