checkIsEnabled static method

Future<bool> checkIsEnabled()

Returns true if the native tab bar is currently active on the platform side.

Implementation

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