zeba_academy_custom_render_kit 0.0.1
zeba_academy_custom_render_kit: ^0.0.1 copied to clipboard
A powerful custom rendering toolkit with painters, shapes, and render objects.
๐จ zeba_academy_custom_render_kit #
A powerful and flexible Flutter rendering toolkit designed for developers who want full control over drawing, painting, and rendering pipelines.
๐ Features #
- ๐จ Painter Utilities โ Ready-to-use custom painters
- ๐ท Shape Generators โ Easily generate complex paths
- โ๏ธ Drawing Tools โ Build interactive drawing experiences
- โ๏ธ Custom Render Objects โ Low-level rendering control
๐ฆ Installation #
Add this to your pubspec.yaml:
dependencies:
zeba_academy_custom_render_kit: ^0.0.1
Then run:
flutter pub get
๐งฑ Usage #
๐จ Grid Painter #
CustomPaint(
size: Size.infinite,
painter: GridPainter(gridSize: 25),
)
๐ท Shape Generator #
final path = ShapeGenerator.circle(
Offset(100, 100),
50,
);
โ๏ธ Drawing Canvas #
class DrawingCanvas extends StatelessWidget {
final controller = DrawingController();
DrawingCanvas({super.key});
@override
Widget build(BuildContext context) {
return GestureDetector(
onPanUpdate: (details) {
controller.addPoint(details.localPosition);
},
onPanEnd: (_) {
controller.endStroke();
},
child: AnimatedBuilder(
animation: controller,
builder: (_, __) {
return CustomPaint(
painter: DrawingPainter(controller.points),
child: Container(),
);
},
),
);
}
}
โ๏ธ Custom Render Object #
CustomRenderBox(color: Colors.blue)
๐งช Testing #
Run tests with:
flutter test
๐ Project Structure #
lib/
โโโ zeba_academy_custom_render_kit.dart
โโโ painters/
โโโ shapes/
โโโ tools/
โโโ render_objects/
๐ฅ Use Cases #
- Drawing apps
- Design tools
- Game UIs
- Custom widgets
- Visualization dashboards
๐ Roadmap #
- Gradient painters
- SVG path support
- Zoom & pan canvas
- Undo/Redo system
- Layer-based rendering
๐ License #
This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
๐จโ๐ป About Me #
โจ Iโm Sufyan bin Uzayr, an open-source developer passionate about building and sharing meaningful projects. You can learn more about me and my work at sufyanism.com or connect with me on Linkedin
๐ Your all-in-one no-bloat hub! #
๐ Explore cutting-edge resources in coding, tech, and development at zeba.academy and code.zeba.academy. Empower yourself with practical skills through curated directives, real-world projects, and hands-on experience. Level up your tech game today! ๐ปโจ
Zeba Academy is a learning platform dedicated to coding, technology, and development. โก Visit our main site: https://zeba.academy โก Explore hands-on courses: https://code.zeba.academy โก YouTube: https://www.youtube.com/@zeba.academy โก Instagram: https://www.instagram.com/zeba.academy/
๐ Contributing #
Contributions are welcome! Feel free to open issues or submit pull requests.
โญ Support #
If you like this project, please โญ star the repository and share it with others!
Thank you for visiting! ๐