setFocusPoint method

  1. @override
Future<void> setFocusPoint(
  1. Offset point
)
override

Implementation

@override
Future<void> setFocusPoint(Offset point) {
  assert(point.dx >= 0 && point.dx <= 1);
  assert(point.dy >= 0 && point.dy <= 1);

  return methodChannel.invokeMethod<void>(
    'setFocusPoint',
    <String, dynamic>{
      'x': point.dx,
      'y': point.dy,
    },
  );
}