withDefaultBlend static method

ProgressModel withDefaultBlend({
  1. int width = _defaultWidth,
})

Creates a new progress bar with the default blend of colors (purple to pink).

Implementation

static ProgressModel withDefaultBlend({int width = _defaultWidth}) {
  return ProgressModel(width: width, blend: ['#5A56E0', '#EE6FF8']);
}