GrxLabelSmallText.lerp constructor

GrxLabelSmallText.lerp(
  1. String? text, {
  2. Key? key,
  3. required GrxLabelSmallTextStyle style,
  4. required double t,
  5. TextAlign? textAlign,
  6. GrxTextTransform transform = GrxTextTransform.none,
  7. Color? color,
  8. FontWeight? fontWeight,
  9. TextDecoration? decoration,
  10. TextOverflow? overflow,
  11. bool isLoading = false,
})

Implementation

GrxLabelSmallText.lerp(
  this.text, {
  super.key,
  required final GrxLabelSmallTextStyle style,
  required final double t,
  this.textAlign,
  this.transform = GrxTextTransform.none,
  this.color,
  this.fontWeight,
  this.decoration,
  this.overflow,
  this.isLoading = false,
}) : textSpan = null,
     style =
         TextStyle.lerp(
           GrxLabelSmallTextStyle(
             color: color,
             decoration: decoration,
             overflow: overflow,
             fontWeight: fontWeight,
           ),
           style,
           t,
         )!;