getFlutterPath static method

String getFlutterPath()

Implementation

static String getFlutterPath() {
  final config = Config().config;
  final flutterPath = config.flutterPath;

  if (flutterPath == null) {
    print(
      '⚠️ Custom Flutter Path configuration not found. We recommend specifying it in the your config yaml file for better functionality.',
    );
    return Kstrings.defaultFlutterBinPath;
  }

  return flutterPath;
}