fact static method
Returns the fact text style based on the provided variant. The default variant is Variants.one.
Implementation
static TextStyle fact({
Variants? variant,
Color? color,
double? fontSize,
}) {
switch (variant) {
case Variants.one:
return _factVariantOne(color: color, fontSize: fontSize);
case Variants.two:
return _factVariantTwo(color: color, fontSize: fontSize);
case _:
return _factVariantOne(color: color, fontSize: fontSize);
}
}