From 0bcf255d41fe16c1eeb6718be755e9280765c0f3 Mon Sep 17 00:00:00 2001 From: Abu Anwar MD Abdullah Date: Thu, 16 Nov 2023 22:26:16 +0600 Subject: [PATCH] Add github package --- pubspec.lock | 8 +++++--- pubspec.yaml | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index 2612c4ef..33da330b 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -68,9 +68,11 @@ packages: device_preview: dependency: "direct dev" description: - path: "local_package/device_preview" - relative: true - source: path + path: "." + ref: HEAD + resolved-ref: ad2d811af171ada440bcb203e8890c4c7945e211 + url: "https://github.com/abuanwar072/device_preview.git" + source: git version: "1.1.0" fake_async: dependency: transitive diff --git a/pubspec.yaml b/pubspec.yaml index 2addcd09..435d6e85 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -48,7 +48,8 @@ dev_dependencies: # rules and activating additional ones. flutter_lints: ^2.0.0 device_preview: - path: local_package/device_preview + git: + url: https://github.com/abuanwar072/device_preview.git # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec