TSkeleton constructor
const
TSkeleton({
- Key? key,
- Widget? child,
- bool loading = true,
- double? width,
- double? height,
- BorderRadius? borderRadius,
- BoxShape shape = BoxShape.rectangle,
- Color? color,
- Color? highlightColor,
- Duration duration = const Duration(milliseconds: 1500),
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
Creates a generic skeleton loader widget.
Implementation
const TSkeleton({
super.key,
this.child,
this.loading = true,
this.width,
this.height,
this.borderRadius,
this.shape = BoxShape.rectangle,
this.color,
this.highlightColor,
this.duration = const Duration(milliseconds: 1500),
this.padding,
this.margin,
});