copyWith method

Implementation

CheckboxThemeData copyWith(CheckboxThemeData? style) {
  return CheckboxThemeData(
    margin: style?.margin ?? margin,
    padding: style?.padding ?? padding,
    cursor: style?.cursor ?? cursor,
    icon: style?.icon ?? icon,
    checkedIconColor: style?.checkedIconColor ?? checkedIconColor,
    uncheckedIconColor: style?.uncheckedIconColor ?? uncheckedIconColor,
    thirdstateIconColor: style?.thirdstateIconColor ?? thirdstateIconColor,
    animationCurve: style?.animationCurve ?? animationCurve,
    animationDuration: style?.animationDuration ?? animationDuration,
    checkedDecoration: style?.checkedDecoration ?? checkedDecoration,
    uncheckedDecoration: style?.uncheckedDecoration ?? uncheckedDecoration,
    thirdstateDecoration: style?.thirdstateDecoration ?? thirdstateDecoration,
  );
}