copyWith method Null safety
- {Axis? direction,
- Color? color,
- double? indicatorPosition,
- IndicatorThemeData? indicatorTheme,
- ConnectorThemeData? connectorTheme}
Creates a copy of this theme but with the given fields replaced with the new values.
Implementation
StatusChangeThemeData copyWith({
Axis? direction,
Color? color,
double? indicatorPosition,
IndicatorThemeData? indicatorTheme,
ConnectorThemeData? connectorTheme,
}) {
return StatusChangeThemeData.raw(
direction: direction ?? this.direction,
indicatorTheme: indicatorTheme ?? this.indicatorTheme,
connectorTheme: connectorTheme ?? this.connectorTheme,
);
}