saka_image 0.0.1 copy "saka_image: ^0.0.1" to clipboard
saka_image: ^0.0.1 copied to clipboard

outdated

Simple placeholder image

saka_image #

A flutter image widget,can use placeholder before loading net_image, also can show an error image if there is something wrong with the image url

Getting Started #

just like use Image.network

just three

SakaImage.urlWithPlaceHolder(
  "http://img.rangaofei.cn/01b18.jpg",
  prePlaceHolder: "images/test.gif",
  errPlaceHolder: "images/error.jpeg",
  preDuration: Duration(seconds: 10),
);

prePlaceHolder is used before the net image

errPlaceHolder is user when the url not correct

preDuration is the prePlaceHolder show duration at least

*** the placeholder must be an assets url ***

1
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Simple placeholder image

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on saka_image