styles method
Implementation
Text styles(TextStyle style) => copyWith(
color: style.color,
fontSize: style.fontSize,
fontWeight: style.fontWeight,
fontStyle: style.fontStyle,
letterSpacing: style.letterSpacing,
wordSpacing: style.wordSpacing,
textBaseline: style.textBaseline,
height: style.height,
locale: style.locale,
foreground: style.foreground,
background: style.background,
shadows: style.shadows,
fontFeatures: style.fontFeatures,
decoration: style.decoration,
decorationColor: style.decorationColor,
decorationStyle: style.decorationStyle,
decorationThickness: style.decorationThickness,
debugLabel: style.debugLabel,
fontFamily: style.fontFamily,
fontFamilyFallback: style.fontFamilyFallback,
);