hideWithCoordinates static method

Future<void> hideWithCoordinates(
  1. String key,
  2. int x0,
  3. int y0,
  4. int x1,
  5. int y1,
)

Implementation

static Future<void> hideWithCoordinates(
    String key, int x0, int y0, int x1, int y1) async {
  var coordinates = {
    Constants.keyUniqueWidget: key,
    Constants.keyX0Coord: x0,
    Constants.keyY0Coord: y0,
    Constants.keyX1Coord: x1,
    Constants.keyY1Coord: y1,
  };

  await _channel.invokeMethod<void>(
      Constants.caseHideWithCoordinates, coordinates);
}