flutterCreatePackage static method

Future<void> flutterCreatePackage(
  1. String path,
  2. String? org
)

Implementation

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

  await run(
      'flutter create -t package --no-pub --org $org'
          ' "$path"',
      verbose: true);
}