auto_skeleton 0.1.2
auto_skeleton: ^0.1.2 copied to clipboard
Auto-generate skeleton shimmer loading placeholder from your widget tree. Zero fake data, theme-aware, async builder support.
0.1.2 #
- Added
screenshotsfield to pubspec.yaml for pub.dev gallery - Updated
flutter_lintsto v5.0.0 for latest analysis rules - Improved pub.dev scoring compliance
0.1.1 #
AutoSkeletonBuilder— async data loading with automatic skeleton display- Supports
FutureandStreamdata sources - Zero
setStateneeded — skeleton shown while loading, content when done - Built-in
errorBuilderfor error states onData/onErrorcallbacks
- Supports
- Added tests for builder (13 total tests passing)
0.1.0 #
- Initial release
AutoSkeletonwidget — wrap any widget tree to auto-generate skeleton placeholdersSliverAutoSkeleton— sliver variant for CustomScrollView- Theme-aware colors — auto-derives from your app's
ColorScheme(light & dark) - 3-layer color control — theme auto-detect → global config → per-widget override
- Effects:
ShimmerEffect,PulseEffect,SolidEffect - Annotations:
PlaceholderIgnore,PlaceholderReplace,PlaceholderLeaf,PlaceholderShape - Extension:
.withSkeleton(loading: bool)on any Widget - Presets:
SkeletonPresets.listTile(),.productCard(),.foodCard(),.horizontalCardRow() AutoSkeletonConfigfor global configuration via InheritedWidget- Switch animation (skeleton → content) with configurable duration and curve
