merge method

  1. @override
UISwitcherThemeData merge(
  1. covariant UISwitcherThemeData? other
)
override

Implementation

@override
UISwitcherThemeData merge(covariant UISwitcherThemeData? other) {
  return UISwitcherThemeData(
    padding: other?.padding ?? padding,
    width: other?.width ?? width,
    height: other?.height ?? height,
    handSize: other?.handSize ?? handSize,
    activeColor: other?.activeColor ?? activeColor,
    disabledColor: other?.disabledColor ?? disabledColor,
    foregroundColor: other?.foregroundColor ?? foregroundColor,
    backgroundColor: other?.backgroundColor ?? backgroundColor,
  );
}