puro_sidekick_plugin library
A Sidekick plugin that connects puro to the sidekick flutter command
Classes
- PuroCommand
-
Makes the
puro
command available as subcommand
Functions
-
flutterSdkSymlink(
) → String - Create an empty folder for flutter sdk symlink
-
getCurrentPuroVersion(
) → Future< ({bool standalone, String version})> -
getPuroPath(
) → File? -
getPuroStandaloneBinPath(
{bool createIfNotExists = false}) → Directory - Returns the puro standalone bin path. It may not exist.
-
initializePuro(
SdkInitializerContext context) → Future< void> -
puro(
List< String> args, {Directory? workingDirectory, Progress? progress, bool nothrow = false, String throwOnError()?}) → Future<ProcessCompletion> - Executes Flutter CLI via puro
Exceptions / Errors
- PuroInstallationFailedException
- Thrown when puro could not be installed
- PuroNotFoundException
- Thrown when puro is not found