withBackgroundColor method

LabelStyle withBackgroundColor(
  1. Color value
)

Replaces LabelStyle.backgroundColor with value.

Implementation

LabelStyle withBackgroundColor(Color value) =>
    copyWith(backgroundColor: value);