Private pub.dev for packages Flutter Dart
docker-compose up
Add the publish_to
property in package's pubspec.yaml
name: my_amazing_package
description: The Package!
version: 1.0.0
author: Author<[email protected]>
homepage: example.com
publish_to: http://your-server.com
Use command:
flutter pub publish
Add in package's pubspec.yaml
dependencies:
my_amazing_package:
hosted:
url: http://your-server.com
version: ˆ1.0.0