-
Notifications
You must be signed in to change notification settings - Fork 335
Description
I have searched all stackoverflow and github and applied the solutions for this problem but nothing seems to work.
When I run flutter pub get it throws an error show in image below

I have tried updating the sdk version in pubsec.yaml to min of 2.12.0 but it doesn't seem to work.
Would be great if somebody can help
PFA pubsec.yaml
name: natrium_wallet_flutter
description: Natrium - Fast, Robust & Secure NANO Wallet.
The following defines the version and build number for your application.
A version number is three numbers separated by dots, like 1.2.43
followed by an optional build number separated by a +.
Both the version and the builder number may be overridden in flutter
build by specifying --build-name and --build-number, respectively.
version: 2.5.1+85
environment:
sdk: ">=2.12.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
Securley store data in a keystore
flutter_secure_storage: ^8.1.0
Nano core functions
flutter_nano_ffi:
git:
url: https://github.com/appditto/flutter_nano_ffi.git
ref: master
Shared prefs
shared_preferences: ^2.0.8
Flare for animations
flare_flutter: ^3.0.2
Websockets
web_socket_channel: ^2.0.0
Platform-specific build info
package_info: ^2.0.2
Device-specific info
device_info: ^2.0.3
JSON Serialization
json_annotation: ^4.3.0
Localization
intl: ^0.17.0
BigDecimal alternative
decimal: ^1.3.0
Logger
logger: ^2.0.1
Native webview plugin
flutter_webview_plugin: ^0.4.0
SQLite
sqflite: ^2.0.0+4
Android/iOS path provider
path_provider: ^2.0.1
TouchID/FaceID
local_auth: ^2.1.6
Eventbus
event_taxi: ^1.0.0
SVG
flutter_svg: ^1.0.3
QR Codes
qr_flutter: ^4.0.0 # Generator
barcode_scan:
git:
url: https://github.com/bbedward/flutter_barcode_reader.git
ref: master
Share files
share:
git:
url: https://github.com/bbedward/plugins.git
path: packages/share
ref: master
File picker
file_picker: ^5.3.1
Deep link support
#uni_links: ^0.2.0
uni_links:
git:
url: https://github.com/bbedward/uni_links.git
ref: master
HTTP client
http: ^0.13.4
Vibrate
vibrate:
git:
url: https://github.com/bbedward/flutter_vibrate.git
ref: master
Toast
oktoast: ^3.0.0
Push notifications
firebase_messaging: ^14.6.7
firebase_core: ^2.15.1
Slidable list actions
flutter_slidable: ^0.6.0
Lock helper
synchronized: ^3.0.0
Service provider
get_it: ^7.6.0
Root/Jailbreak detection
root_checker:
git:
url: https://github.com/bbedward/root_checker.git
ref: master
Validation utilities
validators: ^3.0.0
Auto resize text widget
auto_size_text: ^3.0.0
Avoid keyboard from overlapping text fields
keyboard_avoider: ^0.1.2
Launch external URLs
url_launcher: ^6.0.2
quiver: ^3.0.1+1
Manta dart implementation
manta_dart:
git:
url: https://github.com/bbedward/manta-dart.git
ref: master
devicelocale: ^0.6.0
dependency_overrides:
analyzer: ^2.7.0
dart_style: ^2.0.0
dev_dependencies:
flutter_test:
sdk: flutter
build_runner: ^2.3.3
json_serializable: ^6.0.1
intl_translation:
git:
url: https://github.com/bbedward/intl_translation.git
ref: master
For information on the generic Dart part of this file, see the
following page: https://www.dartlang.org/tools/pub/pubspec
The following section is specific to Flutter.
flutter:
fonts:
- family: NunitoSans
fonts:
- asset: fonts/NunitoSans-Regular.ttf
weight: 600
- asset: fonts/NunitoSans-ExtraLight.ttf
weight: 100
- asset: fonts/NunitoSans-Light.ttf
weight: 200
- asset: fonts/NunitoSans-SemiBold.ttf
weight: 700
- asset: fonts/NunitoSans-Bold.ttf
weight: 800
- asset: fonts/NunitoSans-ExtraBold.ttf
weight: 900
- family: OverpassMono
fonts:
- asset: fonts/OverpassMono-Regular.ttf
weight: 600
- asset: fonts/OverpassMono-Light.ttf
weight: 100
- family: AppIcons
fonts:
- asset: fonts/AppIcons.ttf
weight: 500
- family: Comfortaa
fonts:
- asset: fonts/Comfortaa-Bold.ttf
weight: 700
- asset: fonts/Comfortaa-Regular.ttf
weight: 400
- asset: fonts/Comfortaa-Light.ttf
weight: 300
assets:
- assets/QR.svg
- assets/welcome_animation.flr
- assets/send_animation.flr
- assets/manta_animation.flr
- assets/transfer_animation_natriumwalletonly.flr
- assets/transfer_animation_paperwalletonly.flr
- assets/searchseedqr_animation_magnifyingglassonly.flr
- assets/searchseedqr_animation_glassonly.flr
- assets/searchseedqr_animation_qronly.flr
- assets/searchseedmanual_animation_magnifyingglassonly.flr
- assets/searchseedmanual_animation_glassonly.flr
- assets/searchseedmanual_animation_seedonly.flr
- assets/threedot_animation.flr
- assets/offline_animation.flr
- assets/sharecard_logo.svg
- assets/transferfunds_illustration_start_natriumwalletonly.svg
- assets/transferfunds_illustration_start_paperwalletonly.svg
- assets/transferfunds_illustration_end_natriumwalletonly.svg
- assets/transferfunds_illustration_end_paperwalletonly.svg
- assets/pulltosend_animation.flr
- assets/sheethandle_animation.flr
- assets/ntr_placeholder_animation.flr
The following line ensures that the Material Icons font is
included with your application, so that you can use the icons in
the material Icons class.
uses-material-design: true