merge method

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

Implementation

@override
UISnackbarThemeData merge(covariant UISnackbarThemeData? other) {
  return UISnackbarThemeData(
    padding: other?.padding ?? padding,
    margin: other?.margin ?? margin,
    backgroundColor: other?.backgroundColor ?? backgroundColor,
    borderRadius: other?.borderRadius ?? borderRadius,
    spacing: other?.spacing ?? spacing,
    runSpacing: other?.runSpacing ?? runSpacing,
    textSpacing: other?.textSpacing ?? textSpacing,
    boxShadow: other?.boxShadow ?? boxShadow,
  );
}