Code before migration:

// TextTheme

// Base constructor

TextTheme

display4:

displayStyle4

display3:

displayStyle3

display2:

displayStyle2

display1:

displayStyle1

headline:

headlineStyle

title:

titleStyle

subhead:

subheadStyle

body2:

body2Style

body1:

body1Style

caption:

captionStyle

button:

buttonStyle

subtitle:

subtitleStyle

overline:

overlineStyle

);

// copyWith