withColor method

SegmentStyle withColor(
  1. Color value
)

Replaces SegmentStyle.color with value.

Implementation

SegmentStyle withColor(Color value) => copyWith(color: value);