netWork static method
网络图片
Implementation
static Widget netWork(String? path) {
if (!FFEmpty.stringIsEmpty(path) && path!.startsWith("http")) {
return Image(
fit: BoxFit.fill,
image: NetworkImage(path),
);
} else {
return Container();
}
}