Selects the page at index.
index
static Future<void> setSelectedPage(int index) async { if (!_shown) return; await _channel.invokeMethod('setSelectedPage', {'index': index}); }