setPresentMode method
Set the presentation mode: 0=Auto, 1=Fifo (vsync), 2=Mailbox, 3=Immediate.
Implementation
Future<void> setPresentMode(int mode) async {
await _configure(GridConfig()
..rendering = (RenderConfig()
..presentMode =
(PresentMode.valueOf(mode) ?? PresentMode.PRESENT_AUTO)));
}