oneShimmerItem function
Implementation
oneShimmerItem(double _width, double _height, Animation<double> _animation){
return AnimatedBuilder(
animation: _animation,
builder: (BuildContext context, Widget? child) {
return Container(
width: _width,
height: _height,
decoration: customBoxDecoration(
animation: _animation,
isRectBox: true,
isPurplishMode: false,
isDarkMode: aTheme.darkMode,
hasCustomColors: false,
colors: defaultColors),
);
}
);
}