ui_skeleton_factory 0.0.1
ui_skeleton_factory: ^0.0.1 copied to clipboard
Automatically generate Skeleton Loading UI from any Flutter Widget with zero config. Features custom registry, caching, debug mode, animated transitions, and powerful controller. Pure Flutter, no dependencies.
0.0.1 #
🎉 Initial Release #
Core Features
- Automatic skeleton generation from any Flutter widget
- Three API approaches: SkeletonFactory widget, Skeleton.from() static method, extension API
- Smart widget mapping for 15+ widget types (Text, Image, Icon, Buttons, ListTile, Card, etc.)
- Layout preservation (maintains sizes, padding, alignment, flex properties)
- Optional shimmer animation effect with customizable colors and duration
- Performance mode for complex layouts (shimmer can be disabled)
Advanced Features
- Custom Registry API - Register custom skeleton builders for your own widgets
- Skeleton Controller - Simple but powerful state management with named states
- Animated Transitions - Beautiful fade, scale, and slide transitions
- Caching System - Automatic caching of generated skeletons for performance
- Debug Mode - Comprehensive logging and diagnostics with statistics
- Graceful Fallback - Handles unknown widgets without breaking layout
Widget Support
- Comprehensive widget support: Row, Column, Stack, Padding, Center, Align
- Scrollable widgets: ListView, GridView, SingleChildScrollView
- Material widgets: Scaffold, Material, Card
- Flex widgets: Expanded, Flexible
- Form widgets: Checkbox, Radio, Switch
- And more...
Architecture
- Clean, modular architecture with separation of concerns
- Pure Flutter implementation (zero external dependencies)
- Generates completely new widget trees (no masking or overlays)
- Production-ready code quality
Documentation
- Comprehensive README with examples
- Advanced features documentation (ADVANCED_FEATURES.md)
- Full example app with 8 demos
- Inline DartDoc comments throughout
Testing
- Extensive test coverage (33 passing tests)
- Tests for all major components and features
- Performance and edge case testing
Quality
- ✅ 0 errors, 0 warnings (only info-level const suggestions in examples)
- ✅ Null-safe
- ✅ Follows Flutter best practices
- ✅ Ready for pub.dev publication