findFlutterSDK function consumer
Get the path to the local Flutter SDK installation as configured in the root-project/android/local.properties folder.
Either:
- throws KlutterException if unsuccessful or
- returns String path to Flutter SDK installation.
Implementation
String findFlutterSDK(String pathToAndroid) =>
pathToAndroid.verifyExists.toPropertiesFile.asProperties
.property("flutter.sdk");