withBackgroundColor method

LegendStyle withBackgroundColor(
  1. Color value
)

Replaces LegendStyle.backgroundColor with value.

Implementation

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