disable static method
Disable native tab bar and return to Flutter-only mode
Implementation
static Future<void> disable() async {
if (!_isEnabled) {
return;
}
await _channel.invokeMethod('disable');
_channel.setMethodCallHandler(null);
_isEnabled = false;
_onTabSelected = null;
_onSearchChanged = null;
_onSearchSubmitted = null;
_onSearchCancelled = null;
_onSearchActiveChanged = null;
}