FlutlyRichText constructor
FlutlyRichText({
- Key? key,
- required String font,
- required List<
FlutlyText> texts, - bool? shimmer,
Implementation
FlutlyRichText({
super.key,
required this.font,
required this.texts,
this.shimmer,
}) {
FlutlyFonts fonts = Get.find<FlutlyFonts>();
flutlyFont = fonts.getFont(font);
shimmer ??= false;
setCanShimmer(shimmer!);
setShimmerType(FlutlyShimmerType.TEXT);
}