SkeletonLoader constructor
const
SkeletonLoader({ - Key? key,
- double? width,
- double height = 16,
- double borderRadius = 8,
- bool isCircle = false,
- Duration shimmerDuration = const Duration(milliseconds: 1500),
- Color? baseColor,
- Color? highlightColor,
- bool isLoading = true,
- EdgeInsetsGeometry? margin,
})
Implementation
const SkeletonLoader({
super.key,
this.width,
this.height = 16,
this.borderRadius = 8,
this.isCircle = false,
this.shimmerDuration = const Duration(milliseconds: 1500),
this.baseColor,
this.highlightColor,
this.isLoading = true,
this.margin,
});