fromCheckmarkView method

CheckmarkViewController fromCheckmarkView(
  1. CheckmarkView view
)

Implementation

CheckmarkViewController fromCheckmarkView(CheckmarkView view) {
  super.fromTextView(view);

  /// BASE PROPERTIES
  checkboxAlignment = view.checkboxAlignment;
  spaceBetween = view.spaceBetween;

  /// CHECK BOX PROPERTIES
  primary = view.primary;
  activeColor = view.activeColor;
  checkColor = view.checkColor;
  fillColor = view.fillColor;
  fillColorState = view.fillColorState;
  checkFocusColor = view.checkFocusColor;
  checkFocusNode = view.checkFocusNode;
  checkHoverColor = view.checkHoverColor;
  checkAutofocus = view.checkAutofocus;
  isError = view.isError;
  materialTapTargetSize = view.materialTapTargetSize;
  mouseCursor = view.mouseCursor;
  splashRadius = view.splashRadius;
  tristate = view.tristate;
  visualDensity = view.visualDensity;
  checkboxRadius = view.checkboxRadius;
  checkboxStrokeColor = view.checkboxStrokeColor;
  checkboxStrokeSize = view.checkboxStrokeSize;
  overlayOpacity = view.overlayOpacity;
  return this;
}