shimmer
a package provides an easy way to add shimmer effect in flutter project.
how to use shimmer effect
import 'package:shimmer/shimmer.dart';
sizedbox(
width: 200.0,
height: 100.0,
child: shimmer.fromcolors(
basecolor: colors.red,
highlightcolor: colors.yellow,
child: text(
'shimmer',
textalign: textalign.center,
style: textstyle(
fontsize: 40.0,
fontweight:
fontweight.bold,
),
),
),
);
Comments are closed.