apply method

CardStyle apply(
  1. CardStyle? style
)

Implementation

CardStyle apply(CardStyle? style) => copyWith(
  borderWidth: style?.borderWidth ?? borderWidth,
  backgroundColor: style?.backgroundColor ?? backgroundColor,
  borderColor: style?.borderColor ?? borderColor,
  borderRadius: style?.borderRadius ?? borderRadius,
  cursorColor: style?.cursorColor ?? cursorColor,
  textColor: style?.textColor ?? textColor,
  fontSize: style?.fontSize ?? fontSize,
  textErrorColor: style?.textErrorColor ?? textErrorColor,
  placeholderColor: style?.placeholderColor ?? placeholderColor,
  fontFamily: style?.fontFamily ?? fontFamily,
);