GrxDisplayText.lerp constructor
GrxDisplayText.lerp(
- String? text, {
- Key? key,
- required GrxDisplayTextStyle style,
- required double t,
- TextAlign? textAlign,
- GrxTextTransform transform = GrxTextTransform.none,
- Color? color,
- FontWeight? fontWeight,
- TextDecoration? decoration,
- TextOverflow? overflow,
- bool isLoading = false,
Implementation
GrxDisplayText.lerp(
this.text, {
super.key,
required final GrxDisplayTextStyle 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(
GrxDisplayTextStyle(
color: color,
decoration: decoration,
overflow: overflow,
fontWeight: fontWeight,
),
style,
t,
)!;