smart_shimmer_ui โกโจ
A modern, high-performance shimmer skeleton loading UI library for Flutter. Includes ready-to-use skeleton components, realistic multi-line text, auto-adaptive dark mode, and full-screen templates.
๐ Why smart_shimmer_ui?
Most shimmer packages require you to build complex skeleton layouts manually using raw containers and math. smart_shimmer_ui provides ready-made, pixel-perfect skeleton widgets for lists, cards, feeds, chats, and profiles in a single line of code!
- ๐ Zero External Runtime Dependencies - Built natively with Flutter's
ShaderMaskand hardware-accelerated animations for buttery smooth 60/120 FPS. - ๐ Auto Dark & Light Mode - Automatically detects
Theme.of(context).brightnessand adjusts shimmer contrast so your users never get blinded in dark mode. - ๐งฉ Drop-in Compatible - Easily replace old
Shimmer.fromColors(...)code with zero refactoring. - ๐ฆ 10+ Pre-built UI Presets -
SmartShimmerListTile,SmartShimmerCard,SmartShimmerListView,SmartShimmerGrid,SmartShimmerProfile,SmartShimmerChat,SmartShimmerFeed. - ๐ Animated State Switcher - Crossfade effortlessly from skeleton loading to real content using
SmartShimmerBuilder. - ๐ 50+ Free Full-Screen Templates - Ready-to-use full app skeletons for Fintech, E-Commerce, Food Delivery, Social Media, Health, and Mobility included 100% free.
๐ฑ Screenshots & Pre-built Widgets
| Classic Shimmer List | Cards & Product Grid | Social Media Feed |
|---|---|---|
![]() |
![]() |
![]() |
| Profile Screen (Light) | Profile Screen (Dark) | Cards & Grid (Dark) |
|---|---|---|
![]() |
![]() |
![]() |
๐ฆ Installation
Add smart_shimmer_ui to your pubspec.yaml:
dependencies:
smart_shimmer_ui: ^1.0.6
Then run:
flutter pub get
Import it in your Dart file:
import 'package:smart_shimmer_ui/smart_shimmer_ui.dart';
๐ Quick Start Examples
1. Classic Shimmer List (Drop-in Replacement)
Match your classic skeleton loading list with just a single widget:
SmartShimmerListView(
itemCount: 8,
)
Or customize individual tiles:
SmartShimmerListTile(
showAvatar: true,
avatarSize: 48,
lines: 2,
lastLineWidthFactor: 0.6, // Realistic shorter subtitle line
showTrailing: false,
)
2. Drop-in Replacement for Legacy Shimmer
If you already have existing shimmer code, use SmartShimmer.fromColors:
SmartShimmer.fromColors(
baseColor: Colors.grey.shade300,
highlightColor: Colors.white,
period: const Duration(milliseconds: 1000),
child: myCustomWidget(),
)
3. Smooth State Transition (Loading โ Loaded)
Switch between skeleton and real data with smooth crossfade:
SmartShimmerBuilder(
isLoading: userState.isLoading,
skeleton: const SmartShimmerListTile(),
child: UserListTile(user: userState.user),
)
4. Realistic Text Skeleton
Create realistic multi-line paragraph skeletons where the last line is naturally shorter:
SmartShimmerText(
lines: 3,
lineHeight: 14,
spacing: 8,
lastLineWidthFactor: 0.5, // 50% width on last line
)
5. Card & Grid Skeletons
E-Commerce Product Grid:
SmartShimmerGrid(
crossAxisCount: 2,
itemCount: 6,
childAspectRatio: 0.75,
)
Social Post Feed:
SmartShimmerFeed(
mediaHeight: 250,
)
User Profile Screen:
SmartShimmerProfile(
coverHeight: 140,
avatarSize: 80,
)
Chat Conversation Bubbles:
SmartShimmerChat(
bubbleCount: 6,
)
๐ Dark Mode & Global Theming
smart_shimmer_ui automatically detects Light and Dark mode. To customize global shimmer colors throughout your whole app, wrap your MaterialApp with SmartShimmerTheme:
SmartShimmerTheme(
data: SmartShimmerThemeData(
baseColor: Color(0xFFE5E7EB),
highlightColor: Color(0xFFF9FAFB),
duration: Duration(milliseconds: 1500),
direction: ShimmerDirection.leftToRight,
),
child: MaterialApp(
home: HomeScreen(),
),
)
๐ฑ 50+ Full-Screen Skeleton Templates (100% Free)
smart_shimmer_ui includes 50+ complete, production-grade full-screen skeleton layouts across all major app categories, completely free:
๐ฆ 1. Fintech & Banking (10 Screens)
ProFintechWalletScreen- Wallet balance, cards carousel & quick actionsProFintechReceiptScreen- Transaction details, status breakdown & receiptProFintechTransferScreen- Send money, recent payees & numpadProFintechAnalyticsScreen- Weekly spending bar charts & insightsProFintechCryptoScreen- Token holdings, live price ticker & watchlistProFintechLoanScreen- EMI calculator & interest breakdownProFintechBillPayScreen- Utility bill categories & pending billsProFintechSavingsScreen- Piggy bank goals & progress barsProFintechStatementScreen- Monthly statement with date filtersProFintechCardSettingsScreen- Virtual card toggle & security controls
๐๏ธ 2. E-Commerce & Retail (10 Screens)
ProEcommerceMarketplaceScreen- Flash sale banner, categories & product feedProEcommerceDetailScreen- Image gallery, color/size swatches & sticky buy barProEcommerceCartScreen- Cart item list, promo code & price summaryProEcommerceCheckoutScreen- Shipping address & payment selectionProEcommerceOrderTrackingScreen- Step-by-step parcel tracking timelineProEcommerceWishlistScreen- 2-column wishlist grid & move to cartProEcommerceSearchResultsScreen- Filter chips & search resultsProEcommerceCustomerReviewsScreen- Review breakdown & rating barsProEcommerceCategoriesGridScreen- Visual taxonomy category tilesProEcommerceReturnsScreen- Return request & refund status
๐ 3. Food Delivery (10 Screens)
ProFoodRestaurantDiscoveryScreen- Top banners, cuisines carousel & nearbyProFoodRestaurantMenuScreen- Sticky category tabs & food dish itemsProFoodDishDetailBottomSheetScreen- Add-on customization sheetProFoodCartSummaryScreen- Restaurant bill breakdown & delivery feeProFoodLiveTrackingMapScreen- Driver map route & ETA countdownProFoodOrderHistoryScreen- Past orders & 1-tap reorderProFoodAddressManagementScreen- Saved home/work address listProFoodDriverTipScreen- Driver rating & tip percentage selectorProFoodCuisineFilterScreen- Cuisine mood pills & searchProFoodReviewFeedbackScreen- Star rating & compliments tags
๐ฌ 4. Social Media & Video (10 Screens)
ProSocialFeedScreen- Stories tray, photo/video card & commentsProSocialStoryViewerScreen- Full-screen story with progress barsProSocialReelsPlayerScreen- 9:16 vertical short video player & floating actionsProSocialUserProfileScreen- Avatar header, bio & 3-column media gridProSocialDirectMessagesScreen- Active chats & unread badgesProSocialChatConversationScreen- Chat bubbles & voice message pillProSocialExploreGridScreen- Staggered trending media explore gridProSocialNotificationsScreen- Likes, follows, and mentions activity feedProSocialCommentsDrawerScreen- Bottom sheet comments with nested repliesProSocialLiveStreamScreen- Floating live reaction hearts & live chat
๐ 5. Mobility, Health & Productivity (10 Screens)
ProHealthDoctorSearchScreen- Doctor specialty cards & ratingProHealthAppointmentSlotPickerScreen- Time slot picker & date calendarProHealthMedicalRecordsScreen- Lab reports & prescription historyProTravelHotelSearchScreen- Hotel photo cards, price & amenitiesProTravelRoomDetailScreen- Room gallery & instant bookingProMobilityCabSelectScreen- Ride options (Standard, Premium, XL) & faresProMobilityRideTrackingScreen- Live cab tracking route & driver detailsProDashboardKpiStatsScreen- Analytics KPI cards & chart placeholdersProKanbanTaskBoardScreen- Drag-and-drop task column placeholdersProAccountSettingsScreen- Profile overview, preferences & toggle items
๐ก Usage Example:
import 'package:smart_shimmer_ui/smart_shimmer_ui.dart';
// Render any of the 50 screen skeletons directly in your app:
const ProFintechWalletScreen()
// Or access all screens programmatically via the registry:
final screens = SmartShimmer50ScreensRegistry.allScreens;
๐ ๏ธ API Reference
Primitives
| Widget | Description | Key Properties |
|---|---|---|
SmartShimmer |
Core shimmer sweep wrapper | baseColor, highlightColor, duration, direction, gradient |
SmartShimmerBox |
Rounded rectangle skeleton | width, height, borderRadius, shape |
SmartShimmerCircle |
Circular avatar skeleton | size, margin |
SmartShimmerText |
Multi-line text skeleton | lines, lineHeight, spacing, lastLineWidthFactor |
SmartShimmerImage |
Media banner skeleton | width, height, aspectRatio, borderRadius |
Presets
| Preset Widget | Description |
|---|---|
SmartShimmerListTile |
Avatar + title + subtitle list tile |
SmartShimmerListView |
Synchronized scrollable or fixed list skeleton |
SmartShimmerCard |
Vertical, horizontal, or compact card skeletons |
SmartShimmerGrid |
Multi-column grid skeleton |
SmartShimmerProfile |
Cover banner + avatar + bio + stats profile skeleton |
SmartShimmerFeed |
Author header + media + actions + caption social feed |
SmartShimmerChat |
Alternating incoming/outgoing chat bubbles |
SmartShimmerBuilder |
Animated crossfade between skeleton and loaded data |
๐ค Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
๐ License
This package is licensed under the MIT License.





