applyEach method
Implementation
SunnyTextTheme applyEach(TextStyle modification(TextStyle input)) {
return SunnyTextTheme._(
fontScale: fontScale,
body1Normal: modification(this.body1Normal),
body1Medium: modification(this.body1Medium),
body1Bold: modification(this.body1Bold),
body1Light: modification(this.body1Light),
body2Normal: modification(this.body2Normal),
body2Medium: modification(this.body2Medium),
body2Bold: modification(this.body2Bold),
body2Light: modification(this.body2Light),
header4: modification(this.header4),
header3: modification(this.header3),
header2: modification(this.header2),
header1: modification(this.header1),
body3Light: modification(this.body3Light),
input1: modification(this.input1),
input2: modification(this.input2),
body3Link: modification(this.body3Link),
hero: modification(this.hero),
heroMedium: modification(this.heroMedium),
heroBold: modification(this.heroBold),
input0: modification(this.input0),
placeholder0: modification(this.placeholder0),
);
}