flutterCreatePlugin static method

Future<void> flutterCreatePlugin(
  1. String path,
  2. String? org,
  3. String iosLang,
  4. String androidLang,
)

Implementation

static Future<void> flutterCreatePlugin(
  String path,
  String? org,
  String iosLang,
  String androidLang,
) async {
  LogService.info('Running `flutter create plugin $path` …');

  await run(
      'flutter create -t plugin --no-pub -i $iosLang -a $androidLang --org $org'
      ' "$path"',
      verbose: true);
}