setFlip method

Future<void> setFlip(
  1. String id, {
  2. bool horizontal = false,
  3. bool vertical = false,
  4. bool animate = false,
  5. int? durationMs,
  6. String? curve,
})

Set flip state.

Implementation

Future<void> setFlip(
  String id, {
  bool horizontal = false,
  bool vertical = false,
  bool animate = false,
  int? durationMs,
  String? curve,
}) async {
  await send<void>('setFlip', windowId: id, params: {
    'horizontal': horizontal,
    'vertical': vertical,
    'animate': animate,
    'durationMs': ?durationMs,
    'curve': ?curve,
  });
}