checkIsEnabled static method

Future<bool> checkIsEnabled()

Check if native tab bar is currently enabled

Implementation

static Future<bool> checkIsEnabled() async {
  try {
    final result = await _channel.invokeMethod<bool>('isEnabled');
    return result ?? false;
  } catch (e) {
    return false;
  }
}