A Flutter package for easily obtaining the size of the application cache
Visual Cache
A Flutter package for easily obtaining the size of the application cache. Visual Cache allows you to retrieve the cache size in a human-readable format (MB or GB), making it suitable for displaying cache-related information in your app’s UI.
Features
- Get the cache size of your Flutter app.
- Display cache size in MB or GB.
- Easy to integrate and use in any Flutter app.
- Ability to add your own catalogs and your own colors.
- Flexible chart settings.
Screenshots

Getting Started
To use the Visual Cache package, follow these simple steps:
Installation
Add Visual Cache as a dependency in your pubspec.yaml file:
dependencies:
flutter:
sdk: flutter
visual_cache: ^1.0.0-betta.3
Usage
// Import package
import 'package:visual_cache/visual_widget.dart';
// Show cache chart
VisualCache(
// 'Path to subdirectories ': 'Custom name subdirectories'
namedSubdirectories: {
'NewFolder': 'Images',
'NewFolder2': 'Videos',
'NewFolder3': 'File',
},
// Custom colors subdirectories
colorSubdirectories: [
Colors.amberAccent, // Images color
Colors.deepOrange, // Videos color
Colors.deepPurpleAccent, // File color
Colors.teal, // Add a final color for "Rest Cache" if you don't want it to be determined by itself
],
showLegends: true, // Enable disable display of directory names
)
Available temporarily only for Android.
Resources Used:
You can check out the entire code of this App here:
Get Full Source Code
Conclusion
This was all about a quick go through the basic flutter App UI Screen. If you need any assistance regarding flutter app development, you can consult a flutter developer from FlutterDesk. We would love to be of help. Still, if you feel any difficult while dealing with Flutter app development projects, you can reach out to us or hire Flutter developers to outsource any of your app development project.
Do like & share my Facebook page. if you find this post helpful. Thank you!!
Happy coding! 😉
Related Articles:
- How to Install Flutter in windows 10
- Flutter Weather app built for Android and iOS with source code
- Beautiful Plants App UI design using flutter and firebase
- A Beautiful Music Player App Built in Flutter source code
- The Real taxi app with Flutter source code
- Quiz App using flutter with source code
- Flutter music app Search all audio files in android phone
- Flutter NEWS App with REST APIs source code
- Chat GPT Voice Chatbot App with Flutter source code
- Make News and Weather App using flutter
- A Flutter News Application created with source code
- A Flutter MultiPlatform Tasks App with source code
- A Flutter ToDo app that allows you to add, edit, and delete tasks
- A Simple and easy video sharing app with Flutter
- Music Player Beautiful Material Design Open Source Flutter App
- Beautiful Weather App List with Flutter source code
- Airtable UI Kit Icons Collection on Flutter
- Flutter package for easily obtaining the size of the application cache
- A playground for image pixel manipulation and painting in Flutter using CustomPaint
- Amazing Tic Tac Toe game app built using Flutter source code
- Wallpaper App with awesome wallpapers Made using Flutter
0 Comments