diff --git a/CHANGELOG.md b/CHANGELOG.md index 4567a23..b388204 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,11 @@ - Fix overflow on `LitPrivacyPolicyScreen`. - Allow custom padding on `LitOnboardingScreen`. -- Add `LitTextPageView` widget to display a list of cards with a tranition animation. +- Add `LitTextPageView` widget to display a list of cards using a transition animation. - Add `LitPrivacyDisclaimerScreen`. - Add `LitBoxShadows`, a collection of styled box shadows. - Rename `ConfirmAgeScreen` to `LitConfirmAgeScreen`. +- Remove `url_launcher` dependency. ## 1.1.0 diff --git a/README.md b/README.md index 2507a2f..31f2529 100644 --- a/README.md +++ b/README.md @@ -39,10 +39,9 @@ experiment with the UI. LitUIKit uses the following Dart dependencies in order to implement certain features and functionality: -- [package_info](https://pub.dev/packages/package_info) - [License](https://github.com/flutter/plugins/blob/master/LICENSE) (Used to detect the platform) -- [url_launcher](https://pub.dev/packages/url_launcher) - [License](https://github.com/flutter/plugins/blob/master/packages/url_launcher/url_launcher/LICENSE) (Used to - redirect users to websites) -- [dartdoc](https://pub.dev/packages/url_launcher) - [License](https://github.com/dart-lang/dartdoc/blob/master/LICENSE) (Used to create the documentation) +- [package_info](https://pub.dev/packages/package_info) - [License](https://github.com/flutter/plugins/blob/master/LICENSE) (Used to detect the platform and version details) +- [intl](https://pub.dev/packages/intl) - [License](https://pub.dev/packages/intl/license) (Used to implement localizations) +- [dartdoc](https://pub.dev/packages/dartdoc) - [License](https://pub.dev/packages/dartdoc/license) (Used to create the documentation) ## Credits diff --git a/example/pubspec.lock b/example/pubspec.lock index 0e42cc9..f661bcb 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -27,11 +27,6 @@ packages: description: flutter source: sdk version: "0.0.0" - flutter_web_plugins: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" intl: dependency: transitive description: @@ -39,13 +34,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.17.0" - js: - dependency: transitive - description: - name: js - url: "https://pub.dartlang.org" - source: hosted - version: "0.6.3" lit_ui_kit: dependency: "direct main" description: @@ -74,13 +62,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.8.0" - plugin_platform_interface: - dependency: transitive - description: - name: plugin_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" sky_engine: dependency: transitive description: flutter @@ -93,48 +74,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.3.0" - url_launcher: - dependency: transitive - description: - name: url_launcher - url: "https://pub.dartlang.org" - source: hosted - version: "6.0.6" - url_launcher_linux: - dependency: transitive - description: - name: url_launcher_linux - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" - url_launcher_macos: - dependency: transitive - description: - name: url_launcher_macos - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" - url_launcher_platform_interface: - dependency: transitive - description: - name: url_launcher_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.3" - url_launcher_web: - dependency: transitive - description: - name: url_launcher_web - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" - url_launcher_windows: - dependency: transitive - description: - name: url_launcher_windows - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" vector_math: dependency: transitive description: @@ -144,4 +83,4 @@ packages: version: "2.1.0" sdks: dart: ">=2.12.0 <3.0.0" - flutter: ">=2.0.0" + flutter: ">=1.17.0" diff --git a/lib/lit_ui_kit.dart b/lib/lit_ui_kit.dart index a1b5932..373c68b 100644 --- a/lib/lit_ui_kit.dart +++ b/lib/lit_ui_kit.dart @@ -10,12 +10,11 @@ /// Dependencies used: /// /// * package_info -/// * url_launcher /// * intl /// /// To use the above mentioned dependencies, please include them /// separatly on the `pubspec.yaml` of your project. These will not be -/// exported to avoid any namespace issues. +/// exported to avoid namespace issues. library lit_ui_kit; /// App bars diff --git a/pubspec.lock b/pubspec.lock index e22f93e..985a7c6 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -27,11 +27,6 @@ packages: description: flutter source: sdk version: "0.0.0" - flutter_web_plugins: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" intl: dependency: "direct main" description: @@ -39,13 +34,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.17.0" - js: - dependency: transitive - description: - name: js - url: "https://pub.dartlang.org" - source: hosted - version: "0.6.3" meta: dependency: transitive description: @@ -67,13 +55,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.8.0" - plugin_platform_interface: - dependency: transitive - description: - name: plugin_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" sky_engine: dependency: transitive description: flutter @@ -86,48 +67,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.3.0" - url_launcher: - dependency: "direct main" - description: - name: url_launcher - url: "https://pub.dartlang.org" - source: hosted - version: "6.0.6" - url_launcher_linux: - dependency: transitive - description: - name: url_launcher_linux - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" - url_launcher_macos: - dependency: transitive - description: - name: url_launcher_macos - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" - url_launcher_platform_interface: - dependency: transitive - description: - name: url_launcher_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.3" - url_launcher_web: - dependency: transitive - description: - name: url_launcher_web - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" - url_launcher_windows: - dependency: transitive - description: - name: url_launcher_windows - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" vector_math: dependency: transitive description: @@ -137,4 +76,4 @@ packages: version: "2.1.0" sdks: dart: ">=2.12.0 <3.0.0" - flutter: ">=2.0.0" + flutter: ">=1.17.0" diff --git a/pubspec.yaml b/pubspec.yaml index 435aba9..f377b67 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -12,7 +12,6 @@ dependencies: flutter: sdk: flutter package_info: ^2.0.2 - url_launcher: ^6.0.6 intl: ^0.17.0 dev_dependencies: