withColorFunc method

ProgressModel withColorFunc(
  1. ColorFunc fn
)

Returns a copy of the model with the given color function.

Implementation

ProgressModel withColorFunc(ColorFunc fn) {
  return copyWith(colorFunc: fn, blend: []);
}