merge method

ToastOptions merge([
  1. ToastOptions? options
])

Implementation

ToastOptions merge([ToastOptions? options]) => copyWith(
      animationDuration: options?.animationDuration,
      animationStyle: options?.animationStyle,
      constraints: options?.constraints,
      onToastTap: options?.onToastTap,
      textStyle: options?.textStyle,
      duration: options?.duration,
      color: options?.color,
      builder: options?.builder,
      direction: options?.direction,
      alignment: options?.alignment,
      onModalTap: options?.onModalTap,
      backgroundColor: options?.backgroundColor,
      foregroundColor: options?.foregroundColor,
      ignoring: options?.ignoring,
      absorbing: options?.absorbing,
      gaussian: options?.gaussian,
      elevation: options?.elevation,
      shadowColor: options?.shadowColor,
      borderRadius: options?.borderRadius,
      shape: options?.shape,
      borderOnForeground: options?.borderOnForeground,
      safeLTRB: options?.safeLTRB,
      resizeToAvoidBottomInset: options?.resizeToAvoidBottomInset,
      insetAnimationDuration: options?.insetAnimationDuration,
      insetAnimationCurve: options?.insetAnimationCurve,
    );