dali 0.0.4 copy "dali: ^0.0.4" to clipboard
dali: ^0.0.4 copied to clipboard

outdated

An image loading and caching library for flutter. Supports iOS and Android

Dalí #

An image loading and caching library for flutter. Supports iOS and Android. Dali is focused on speed and memory efficiency. It saves different versions of the original image in the local storage and cache. Once the image is downloaded, Dalí also makes copies of the image in different sizes in order to minimize the amount of memory used.

Getting Started #

Initialize Dali the app using this code:

void main() {
  DaliImageCache.ensureInitialized()
    ..attachRootWidget(MyApp())
    ..scheduleWarmUpFrame();
}

Then you can load an image in a container:

Container(
  height: 200,
  width: 200,
  child: Dali(imageUrl: 'https://homepages.cae.wisc.edu/~ece533/images/airplane.png'),
)
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

An image loading and caching library for flutter. Supports iOS and Android

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, image, path_provider

More

Packages that depend on dali