Zeba Academy File Manager
A powerful and customizable Flutter file handling UI package.
๐ About
Zeba Academy File Manager is a Flutter package that provides reusable file handling UI components and helper utilities.
It helps developers quickly build:
- File picker screens
- Upload interfaces
- File preview pages
- Document managers
- File listing UI
โจ Features
๐ File Picker Helpers
Easily select files with built-in helpers.
Features:
- Single file picker
- Multiple file picker
- File metadata handling
๐ผ File Preview
Display files with beautiful preview widgets.
Supports:
- Images
- Documents
- File type detection
โ Upload Cards
Ready-to-use upload UI components.
Includes:
- Upload card widget
- Custom actions
- Material design UI
๐ File Display Widgets
Show files with:
- File name
- File size
- File type icon
๐ Installation
Add dependency:
dependencies:
zeba_academy_file_manager: ^1.0.0
Run:
flutter pub get
๐ Usage
Import:
import 'package:zeba_academy_file_manager/zeba_academy_file_manager.dart';
Pick File
final file =
await ZebaFilePicker.pickFile();
if(file != null){
print(file.name);
}
Pick Multiple Files
final files =
await ZebaFilePicker.pickMultiple();
for(final file in files){
print(file.name);
}
File Preview
ZebaFilePreview(
file: file,
)
Upload Card
ZebaUploadCard(
onTap: (){
// Upload action
},
)
File Tile
ZebaFileTile(
file: file,
)
๐ Package Structure
lib/
โโโ zeba_academy_file_manager.dart
โโโ src/
โโโ models/
โ โโโ file_model.dart
โโโ helpers/
โ โโโ file_picker_helper.dart
โโโ widgets/
โโโ file_preview.dart
โโโ file_tile.dart
โโโ upload_card.dart
๐งช Testing
Run tests:
flutter test
Analyze:
flutter analyze
๐ค Contributing
Contributions are welcome.
Steps:
-
Fork repository
-
Create branch
git checkout -b feature/new-feature
- Commit changes
git commit -m "Add new feature"
- Push changes
git push origin feature/new-feature
- Create Pull Request
๐ License
This project is licensed under the:
GNU General Public License v3.0
You are free to:
โ Use โ Modify โ Share โ Distribute
See:
LICENSE
๐จโ๐ป About Me
โจ Iโm Sufyan bin Uzayr, an open-source developer passionate about building and sharing meaningful projects.
Learn more:
LinkedIn:
๐ https://www.linkedin.com/in/sufyanism
๐ Zeba Academy
Your all-in-one learning hub!
๐ Explore courses and resources in:
- Coding
- Technology
- Development
Learn through:
- Practical tutorials
- Real-world projects
- Hands-on experience
Main Website:
๐ https://zeba.academy
Coding Resources:
๐ https://code.zeba.academy
YouTube:
โถ https://www.youtube.com/@zeba.academy
Instagram:
๐ธ https://www.instagram.com/zeba.academy/
โญ Support
If this package helps you, consider giving it a โญ.
Your support helps us build more open-source Flutter packages.
Thank you for using Zeba Academy File Manager โค๏ธ