Overview
pk_skeleton is a Flutter package that provides shimmering skeleton loaders inspired by Facebook and Twitter's card loading animations. It offers smooth, customizable placeholder components to enhance user experience during data loading. The library supports dynamic content sizing and seamless integration into list views or individual widgets. With minimal setup via `flutter pub add pk_skeleton`, it delivers a polished loading state without requiring complex code. Ideal for improving perceived performance in apps with asynchronous data fetching.
Use cases
- Loading placeholders in list items
- Card-based UIs with delayed content
- Improving perceived app responsiveness
- Dynamic content containers
- Onboarding screens with loading states
- Empty states with animated skeletons
Key features
- Shimmer animation effect
- Facebook & Twitter style design
- Easy integration with ListView
- Customizable skeleton shapes
- Supports dynamic content sizing
- Lightweight and performant
Suitable for
- UI/UX developers
- App builders with async data
- Design-focused Flutter projects
- Mobile apps with heavy content loading
- Prototyping interactive interfaces
Considerations
- Limited customization beyond basic styling
- No built-in support for dark mode themes
- Requires manual handling of loading state logic
- Not optimized for very large lists
- No official documentation beyond GitHub README