copyWith method
StepsTheme
copyWith({
- ValueGetter<
double?> ? indicatorSize, - ValueGetter<
double?> ? spacing, - ValueGetter<
Color?> ? indicatorColor, - ValueGetter<
double?> ? connectorThickness,
Implementation
StepsTheme copyWith({
ValueGetter<double?>? indicatorSize,
ValueGetter<double?>? spacing,
ValueGetter<Color?>? indicatorColor,
ValueGetter<double?>? connectorThickness,
}) {
return StepsTheme(
indicatorSize:
indicatorSize == null ? this.indicatorSize : indicatorSize(),
spacing: spacing == null ? this.spacing : spacing(),
indicatorColor:
indicatorColor == null ? this.indicatorColor : indicatorColor(),
connectorThickness: connectorThickness == null
? this.connectorThickness
: connectorThickness(),
);
}