FDeterminateProgressStyle.inherit constructor

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

Creates a FDeterminateProgressStyle that inherits its properties.

Implementation

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