FProgressStyle.inherit constructor

FProgressStyle.inherit({
  1. required FColors colors,
  2. required FStyle style,
})

Creates a FProgressStyle that inherits its properties.

Implementation

FProgressStyle.inherit({required FColors colors, required FStyle style})
  : this(
      trackDecoration: BoxDecoration(borderRadius: style.borderRadius, color: colors.secondary),
      fillDecoration: BoxDecoration(borderRadius: style.borderRadius, color: colors.primary),
    );