Programmatically select the tab at index.
index
static Future<void> setSelectedIndex(int index) async { if (!_enabled) return; await _channel.invokeMethod('setSelectedIndex', {'index': index}); }