configureStyle method
Configures a Style with this config's color profile and background.
Returns the modified style for method chaining.
Implementation
Style configureStyle(Style style) {
style
..colorProfile = colorProfile
..hasDarkBackground = hasDarkBackground;
return style;
}