husk_sdk 0.1.0
husk_sdk: ^0.1.0 copied to clipboard
Build Flutter plugins with or without a closed-source native SDK. A Dart CLI that generates SwiftPM, CocoaPods and Gradle wiring that links a vendor xcframework and AAR when present and a stub otherwise.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate husk_sdkUse it
The package has the following executables:
$ husk_sdk
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add husk_sdkWith Flutter:
$ flutter pub add husk_sdkThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
husk_sdk: ^0.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:husk_sdk/husk_sdk.dart';