An open API service indexing awesome lists of open source software.

https://github.com/flutterando/precache_image_builder


https://github.com/flutterando/precache_image_builder

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

Precache Image Builder





This project is meant to be used to facilitate the use of pre cache on your apps, using a simple builder without any other complications.



Explore the docs »





View Demo
·

Report Bug
·
Request Feature


[![Version](https://img.shields.io/github/v/release/flutterando/precache_image_builder?style=plastic)](https://pub.dev/packages/precache_image_builder)
[![Pub Points](https://img.shields.io/pub/points/precache_image_builder?label=pub%20points&style=plastic)](https://pub.dev/packages/precache_image_builder/score)
[![Flutterando Analysis](https://img.shields.io/badge/style-flutterando__analysis-blueviolet?style=plastic)](https://pub.dev/packages/flutterando_analysis/)

[![Pub Publisher](https://img.shields.io/pub/publisher/precache_image_builder?style=plastic)](https://pub.dev/publishers/flutterando.com.br/packages)


---

Table of Contents


  1. Getting Started

  2. How to Use

  3. Features

  4. Contributing

  5. Contact

  6. Acknowledgements

---


This project is distributed under the MIT License. See `LICENSE.txt` for more information.

(back to top)

## Getting Started

To get precache_image_builder in your project follow either of the instructions below:

a) Add precache_image_builder as a dependency in your Pubspec.yaml:
```yaml
dependencies:
precache_image_builder: any
```

b) Use Dart Pub:
```sh
dart pub add precache_image_builder
```


## How to Use

Add the following code where you call your Splashscreen:

```dart
import 'package:precache_image_builder/precache_image_builder.dart';

void initState(){
PrecacheImageBuilder()
.addImageAsset('mock-asset-name')
.addImageNetwork('mock-image-url')
.addSvgAsset('mock-svg-asset-name')
.addSvgNetwork('mock-svg-url')
.precache(context)
.then(_){
Navigator.of(context).pushNamed('/other-page');
};
}

```


(back to top)

## Features

- ✅ Precache Image Asset
- ✅ Precache Image Asset Network
- ✅ Precache Image SVG Asset
- ✅ Precache Image SVG Network
- 🚧 Documentation

(back to top)

## Contributing

🚧 [Contributing Guidelines]() - _Work in Progress_ 🚧

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the appropriate tag.
Don't forget to give the project a star! Thanks again!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

Remember to include a tag, and to follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) and [Semantic Versioning](https://semver.org/) when uploading your commit and/or creating the issue.

(back to top)

## Contact

Flutterando Community
- [Discord](https://discord.gg/qNBDHNARja)
- [Telegram](https://t.me/flutterando)
- [Website](https://www.flutterando.com.br)
- [Youtube Channel](https://www.youtube.com.br/flutterando)
- [Other useful links](https://linktr.ee/flutterando)

(back to top)

## Acknowledgements

Thank you to all the people who contributed to this project, whithout you this project would not be here today.




(back to top)

## Maintaned by








Built and maintained by Flutterando.