Closed 3kdeveloper closed 8 months ago
SvgPicture.asset( AppImages.callIcon, width: 30, height: 30, ),
@3kdeveloper Not sure why did you closed this issue. It's still there.
SvgPicture.network(model.image ?? '')
If we take this it's not working.
@KetanSatani-TheOneTech Check out the solution
Widget applyShimmer({ double? width = double.maxFinite, double? height, BorderRadius? borderRadius, }) => Skeleton.replace( replacement: Container( width: width, height: height, decoration: BoxDecoration( borderRadius: borderRadius, color: Colors.transparent), child: const ColoredBox(color: Colors.black), ), child: this, );
add this inside your widget extension.
could you give an example to how to add apply shimmer
@seragsabrysakr
YourWidget( ... ).applyShimmer(width: 40.w, height: 40.h)