catchimagebox 0.0.1 catchimagebox: ^0.0.1 copied to clipboard
CatchImageBox is a simple and efficient image caching package for Flutter applications. It provides an easy way to manage and display images, with automatic caching to improve performance and user experience.
import 'package:catchimagebox/catchimagebox.dart';
import 'package:example/app.dart';
import 'package:flutter/material.dart';
Future<void> main() async{
WidgetsFlutterBinding.ensureInitialized();
await ImageBoxService.initialize();
ImageBoxService.setBaseUrl('https://via.placeholder.com');//https://via.placeholder.com/150/92c952
// await ImageBoxService.clean();
runApp(const MyApp());
}