zeba_academy_image_tools 1.0.0
zeba_academy_image_tools: ^1.0.0 copied to clipboard
Image utilities package with preview, zoom, crop and placeholders.
Zeba Academy Image Tools #
A Flutter image utilities package for building beautiful image experiences.
โจ About #
Zeba Academy Image Tools is a Flutter package that provides reusable image utility widgets.
It helps developers easily add modern image features into Flutter applications.
Features Included #
- Image preview widgets
- Zoom image viewer
- Crop UI
- Image placeholders
- Loading states
- Error handling
๐ Features #
๐ผ๏ธ Image Preview #
Display network images with a clean UI.
Features:
- Rounded corners
- Custom width and height
- BoxFit support
- Loading indicator
- Error fallback
Example:
ZebaImagePreview(
imageUrl: "https://picsum.photos/500",
)
๐ Zoom Viewer #
Interactive full-screen image viewer.
Features:
- Pinch zoom
- Double tap zoom
- Smooth image navigation
Example:
Navigator.push(
context,
MaterialPageRoute(
builder: (_) =>
ZebaImageZoomViewer(
imageUrl:
"https://picsum.photos/500",
),
),
);
โ๏ธ Crop UI #
Crop images easily inside Flutter apps.
Features:
- Android support
- iOS support
- Custom crop screen
Example:
ZebaImageCropView(
image: file,
)
๐ผ๏ธ Placeholder Widget #
Show beautiful placeholders when an image is missing.
Example:
ZebaImagePlaceholder()
๐ฆ Installation #
Add dependency:
dependencies:
zeba_academy_image_tools:
latest
Run:
flutter pub get
โก Usage #
Import:
import 'package:zeba_academy_image_tools/
zeba_academy_image_tools.dart';
Example:
Column(
children: [
ZebaImagePreview(
imageUrl:
"https://picsum.photos/500",
),
ZebaImagePlaceholder(),
]
)
๐ ๏ธ Requirements #
| Requirement | Version |
|---|---|
| Flutter | >=3.0.0 |
| Dart | >=3.0.0 |
๐ Package Structure #
zeba_academy_image_tools
lib
โโโ zeba_academy_image_tools.dart
โ
โโโ src
โโโ image_preview.dart
โโโ image_zoom_viewer.dart
โโโ image_crop_view.dart
โโโ image_placeholder.dart
โโโ image_tools.dart
test
โโโ image_tools_test.dart
๐งช Testing #
Run:
flutter test
๐ค Contributing #
Contributions are welcome.
Steps:
-
Fork repository
-
Create branch
git checkout -b feature/new-feature
- Commit changes
git commit -m "Add new feature"
- Push
git push origin feature/new-feature
- Create Pull Request
๐ Bug Reports #
If you find an issue, please include:
- Flutter version
- Device information
- Error details
- Steps to reproduce
๐จโ๐ป 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!
๐ Learn:
- Coding
- Technology
- Development
- Real-world projects
Main Website:
Courses:
YouTube:
https://www.youtube.com/@zeba.academy
Instagram:
https://www.instagram.com/zeba.academy/
๐ License #
This project is licensed under the GNU General Public License v3.0.
You are free to:
โ Use the package โ Modify the source code โ Share improvements โ Distribute copies
Under GPL-3.0 conditions.
See:
LICENSE
โญ Support #
If this package helps you:
โญ Star the repository
๐ Report issues
๐ค Contribute improvements
Thank you for using Zeba Academy Image Tools โค๏ธ