setFocusPoint method

Future<void> setFocusPoint(
  1. Offset? point
)

Implementation

Future<void> setFocusPoint(Offset? point) async {
  if (!value.capabilities.focusPoint) return;
  await _set("setFocusPoint", <String, Object?>{"x": point?.dx, "y": point?.dy});
  _emit(point == null ? value.copyWith(clearFocusPoint: true) : value.copyWith(focusPoint: point));
}