clone method

Implementation

CcButtonWidgetOptions clone() {
  CcButtonWidgetOptions newInstance = CcButtonWidgetOptions();
  newInstance.isDisable = isDisable;
  newInstance.pressedOpacity = pressedOpacity;

  newInstance.width = width;
  newInstance.height = height;
  newInstance.margin = margin;
  newInstance.padding = padding;
  newInstance.alignment = alignment;
  newInstance.decoration = decoration;
  newInstance.decorationDisable = decorationDisable;

  newInstance.titleStyle = titleStyle;
  newInstance.titleStyleDisable = titleStyleDisable;
  return newInstance;
}