registerScribbleElement static method Null safety

void registerScribbleElement(
  1. String elementIdentifier,
  2. ScribbleClient scribbleClient
)

Registers a ScribbleClient with elementIdentifier that can be focused by the engine.

For example, the registered ScribbleClient list is used to respond to UIIndirectScribbleInteraction on an iPad.

Implementation

static void registerScribbleElement(String elementIdentifier, ScribbleClient scribbleClient) {
  TextInput._instance._scribbleClients[elementIdentifier] = scribbleClient;
}