components/app_skeleton library
Classes
- AppSkeleton
- App-wide skeleton loader with consistent styling.
- Bone
- A widget that represents a bone of the loading skeleton effect
- BoneButtonSpec
- The visual specification of a button-shaped bone.
- BoneIconButtonSpec
- The visual specification of an icon button-shaped bone.
- BoneMock
- A class that provides mock data for generating fake
- BoneRenderObject
- The render object of the BoneRenderObjectWidget
- BoneRenderObjectWidget
- A widget that paints a BoxDecoration into a canvas
- BoneResolver
- Resolves the visual specifications of button and icon button bones.
- PaintingEffect
-
An abstraction for skeleton painting effects
consumed by the
Skeletonizer.animationController - PulseEffect
- Creates a painting effect where a two colors are lerped back nad forward based on animation value
- RawShimmerEffect
- A customizable shimmer effect where you can provide your own colors, stops, and other gradient properties
- RenderIgnoredSkeleton
- A Render object that paints nothing when skeletonizer is enabled
- ResolvedSkeletonizerConfigData
- The resolved configuration data used by the skeletonizer painting pipeline.
- ShimmerEffect
- Builds a painting effect where a linear gradient is used to create a shimmer-like effect
- Skeleton
- An interface for a skeleton annotation widget skeleton annotation widgets are used to configure or customize how the skeleton effect is applied to the child widget
- Skeletonizer
- Paints a skeleton of the child widget
- SkeletonizerConfig
- Provided the scoped SkeletonizerConfigData to descended widgets
- SkeletonizerConfigData
- The immutable configuration data for the skeletonizer theme.
- SkeletonizerScope
- Provides the skeletonizer activation information to the descent widgets
- SkeletonizerState
- The state of Skeletonizer widget
- SliverSkeletonizer
- A Skeletonizer widget that can be used in a CustomScrollView
- SolidColorEffect
- Creates a none-animated painting effect
- SwitchAnimationConfig
- Holds the configuration for the switch animation
- TextBoneBorderRadius
-
Holds border radius information
for
TextElement
Enums
- BoneButtonType
- The structural emphasis of a button-shaped bone.
- TextBoneBorderShape
- Enum to define the type of border for text bones
Constants
- skeletonizerConfigData → const SkeletonizerConfigData
- Singleton instance for skeletonizer theme configurations.
Typedefs
- EffectResolver = PaintingEffect Function(Brightness brightness)
- Resolves the PaintingEffect to use for a given platform Brightness.
- Painter = void Function(PaintingContext context, Offset offset)
- / A signature for a function that paints with a PaintingContext.
- SkeletonizerPainter = void Function(SkeletonizerPaintingContext context, Rect paintBounds, Painter paint, TextDirection? textDirection)
-
A signature for a function that paints with a
SkeletonizerPaintingContext.