FProgressStyle.inherit constructor
FProgressStyle.inherit({
- required FColorScheme colorScheme,
- required FStyle style,
Creates a FProgressStyle that inherits its properties from colorScheme
and style
.
Implementation
FProgressStyle.inherit({required FColorScheme colorScheme, required FStyle style})
: this(
backgroundDecoration: BoxDecoration(
borderRadius: style.borderRadius,
color: colorScheme.secondary,
),
progressDecoration: BoxDecoration(
borderRadius: style.borderRadius,
color: colorScheme.primary,
),
);