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: ShapeDecoration(
        shape: RoundedSuperellipseBorder(borderRadius: style.borderRadius.pill),
        color: colors.muted,
      ),
      fillDecoration: ShapeDecoration(
        shape: RoundedSuperellipseBorder(borderRadius: style.borderRadius.pill),
        color: colors.primary,
      ),
    );