quote static method

TextStyle quote({
  1. Variants? variant,
  2. Color? color,
  3. double? fontSize,
})

Returns the quote text style based on the provided variant. The default variant is Variants.one.

Implementation

static TextStyle quote({
  Variants? variant,
  Color? color,
  double? fontSize,
}) {
  switch (variant) {
    case Variants.one:
      return _quoteVariantOne(color: color, fontSize: fontSize);
    case Variants.two:
      return _quoteVariantTwo(color: color, fontSize: fontSize);
    case _:
      return _quoteVariantOne(color: color, fontSize: fontSize);
  }
}