setAllowedPointersMode method

void setAllowedPointersMode(
  1. ScribblePointerMode allowedPointersMode
)

Sets the current mode of allowed pointers to the given ScribblePointerMode

Implementation

void setAllowedPointersMode(ScribblePointerMode allowedPointersMode) {
  temporaryValue = value.copyWith(
    allowedPointersMode: allowedPointersMode,
  );
}