configureStyle method

Style configureStyle(
  1. Style style
)

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;
}