setAllowedPointersMode method
Sets the current mode of allowed pointers to the given ScribblePointerMode
Implementation
void setAllowedPointersMode(ScribblePointerMode allowedPointersMode) {
temporaryValue = value.copyWith(
allowedPointersMode: allowedPointersMode,
);
}