I'm not sure if this belongs in the Dart or Flutter plugin, but to go with the existing activeLocationChanged event that Editors support over DTD, we've defined a new getActiveLocation() service method so that clients (for ex. the Widget Preview) can get the initial position without having to wait for the user to move the text cursor.
See dart-lang/sdk#61538