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