overline static method

TextStyle overline({
  1. TextStyle? textStyle,
  2. int fontWeight = 500,
  3. bool muted = false,
  4. bool xMuted = false,
  5. double? letterSpacing,
  6. Color? color,
  7. TextDecoration decoration = TextDecoration.none,
  8. double? height,
  9. double wordSpacing = 0,
  10. double? fontSize,
})

Implementation

static TextStyle overline(
    {TextStyle? textStyle,
    int fontWeight = 500,
    bool muted = false,
    bool xMuted = false,
    double? letterSpacing,
    Color? color,
    TextDecoration decoration = TextDecoration.none,
    double? height,
    double wordSpacing = 0,
    double? fontSize}) {
  return getStyle(
      fontSize: fontSize ?? _defaultTextSize[ToolTextSize.overline],
      color: color,
      height: height,
      muted: muted,
      letterSpacing: letterSpacing ??
          _defaultLetterSpacing[ToolTextSize.overline] ??
          0.15,
      fontWeight: fontWeight,
      decoration: decoration,
      textStyle: textStyle,
      wordSpacing: wordSpacing,
      xMuted: xMuted);
}