Currently Pub is able to detect that a package is a plugin. But it has no reliable way of detecting if Android, or iOS, or both are supported. Simply checking for the presence of the android and ios folders would be error prone as these are created whenever you run flutter create --plugin.