NUISkeletonContainer constructor
NUISkeletonContainer({})
Implementation
NUISkeletonContainer({
required this.child,
Color? baseColor,
Color? highlightColor,
this.duration = const Duration(milliseconds: 1500),
}) : gradient = LinearGradient(
begin: Alignment.topLeft,
end: Alignment.centerRight,
colors: [baseColor ?? NUIColors.NUISkeletalLightGray, baseColor ?? NUIColors.NUISkeletalLightGray, highlightColor ?? NUIColors.NUISkeletalGray, baseColor ?? NUIColors.NUISkeletalLightGray, baseColor ?? NUIColors.NUISkeletalLightGray],
stops: const [0.0, 0.2, 0.5, 0.8, 1.0],
);