skeleton method
Widget
skeleton({
- Key? key,
- BoxShape? shape,
- EdgeInsetsGeometry? padding,
- Color? color,
- Color? shimmerColor,
- Gradient? gradient,
- double? width,
- double? height,
- EdgeInsetsGeometry? margin,
- BorderRadiusGeometry? borderRadius,
- Duration? duration,
- bool active = true,
- VxSkeletonAnimationType type = VxSkeletonAnimationType.shimmer,
- double? stretchWidth,
Extension method to directly access VxSkeleton with any widget without wrapping or with dot operator.
show skeleton extension
Implementation
Widget skeleton(
{Key? key,
BoxShape? shape,
EdgeInsetsGeometry? padding,
Color? color,
Color? shimmerColor,
Gradient? gradient,
double? width,
double? height,
EdgeInsetsGeometry? margin,
BorderRadiusGeometry? borderRadius,
Duration? duration,
bool active = true,
VxSkeletonAnimationType type = VxSkeletonAnimationType.shimmer,
double? stretchWidth}) =>
VxSkeleton(
key: key,
active: active,
color: color,
gradient: gradient,
borderRadius: borderRadius,
duration: duration,
height: height,
margin: margin,
padding: padding,
shape: shape,
shimmerColor: shimmerColor,
stretchWidth: stretchWidth,
type: type,
width: width,
);