shouldHybridComposition method

Future<bool> shouldHybridComposition()

Implementation

Future<bool> shouldHybridComposition() async {
  var androidInfo = await DeviceInfoPlugin().androidInfo;
  var sdkInt = androidInfo.version.sdkInt;

  if (sdkInt >= 30){
    return true;
  }else{
    return false;
  }
}