withBackgroundColor method

TextAnnotation withBackgroundColor(
  1. Color value
)

Replaces TextAnnotation.backgroundColor with value.

Implementation

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