Skip to content

Skeleton

A placeholder component that displays a shimmer effect while content is loading. Skeleton loaders provide visual feedback to users that content is being fetched, improving perceived performance and user experience.

The Skeleton widget provides customizable shimmer animations that can mimic the shape and layout of your actual content. It supports various sizes, shapes, and layouts to match different UI patterns.

  • Customizable: Supports various sizes, shapes, colors, and border radius options.
  • Shimmer Animation: Built-in shimmer effect for smooth loading animations.
  • Flexible Layout: Can be combined to create complex loading layouts.

A simple rectangular skeleton for text placeholders.


A circular skeleton for avatar or profile picture placeholders.


A combination of circular and rectangular skeletons mimicking a user profile layout.


Multiple skeleton cards arranged in a list layout for content loading states.


PropertyTypeDescription
widthdoubleThe width of the skeleton box. Required.
heightdoubleThe height of the skeleton box. Required.
borderRadiusBorderRadiusThe border radius of the skeleton boxColor
baseColorColorThe base shimmer Color
highlightColorColorThe highlight shimmer Color
marginEdgeInsetsGeometry?Optional margin around the skeleton.
paddingEdgeInsetsGeometry?Optional padding inside the skeleton.