TextTheme constructor
Creates a text theme that uses the given values.
Rather than creating a new text theme, consider using Typography.black or Typography.white, which implement the typography styles in the material design specification:
material.google.com/style/typography.html#typography-styles
If you do decide to create your own text theme, consider using one of those predefined themes as a starting point for copyWith or apply.
Implementation
const TextTheme({
this.display4,
this.display3,
this.display2,
this.display1,
this.headline,
this.title,
this.subhead,
this.body2,
this.body1,
this.caption,
this.button,
this.subtitle,
this.overline,
});