enh: upgrade deps
This commit is contained in:
parent
ee88042b0e
commit
639b376dc1
|
@ -13,7 +13,7 @@ import 'package:crypto/crypto.dart';
|
||||||
// import 'package:http/http.dart' as http;
|
// import 'package:http/http.dart' as http;
|
||||||
|
|
||||||
class CesiumPlusProvider with ChangeNotifier {
|
class CesiumPlusProvider with ChangeNotifier {
|
||||||
TextEditingController cesiumName = TextEditingController();
|
final cesiumName = TextEditingController();
|
||||||
|
|
||||||
CancelToken avatarCancelToken = CancelToken();
|
CancelToken avatarCancelToken = CancelToken();
|
||||||
|
|
||||||
|
|
|
@ -35,27 +35,27 @@ class GenerateWalletsProvider with ChangeNotifier {
|
||||||
final pin = TextEditingController();
|
final pin = TextEditingController();
|
||||||
|
|
||||||
// Import wallet
|
// Import wallet
|
||||||
TextEditingController cesiumID = TextEditingController();
|
final cesiumID = TextEditingController();
|
||||||
TextEditingController cesiumPWD = TextEditingController();
|
final cesiumPWD = TextEditingController();
|
||||||
TextEditingController cesiumPubkey = TextEditingController();
|
final cesiumPubkey = TextEditingController();
|
||||||
bool isCesiumIDVisible = false;
|
bool isCesiumIDVisible = false;
|
||||||
bool isCesiumPWDVisible = false;
|
bool isCesiumPWDVisible = false;
|
||||||
bool canImport = false;
|
bool canImport = false;
|
||||||
late durt.CesiumWallet cesiumWallet;
|
late durt.CesiumWallet cesiumWallet;
|
||||||
|
|
||||||
// Import Chest
|
// Import Chest
|
||||||
TextEditingController cellController0 = TextEditingController();
|
final cellController0 = TextEditingController();
|
||||||
TextEditingController cellController1 = TextEditingController();
|
final cellController1 = TextEditingController();
|
||||||
TextEditingController cellController2 = TextEditingController();
|
final cellController2 = TextEditingController();
|
||||||
TextEditingController cellController3 = TextEditingController();
|
final cellController3 = TextEditingController();
|
||||||
TextEditingController cellController4 = TextEditingController();
|
final cellController4 = TextEditingController();
|
||||||
TextEditingController cellController5 = TextEditingController();
|
final cellController5 = TextEditingController();
|
||||||
TextEditingController cellController6 = TextEditingController();
|
final cellController6 = TextEditingController();
|
||||||
TextEditingController cellController7 = TextEditingController();
|
final cellController7 = TextEditingController();
|
||||||
TextEditingController cellController8 = TextEditingController();
|
final cellController8 = TextEditingController();
|
||||||
TextEditingController cellController9 = TextEditingController();
|
final cellController9 = TextEditingController();
|
||||||
TextEditingController cellController10 = TextEditingController();
|
final cellController10 = TextEditingController();
|
||||||
TextEditingController cellController11 = TextEditingController();
|
final cellController11 = TextEditingController();
|
||||||
bool isFirstTimeSentenceComplete = true;
|
bool isFirstTimeSentenceComplete = true;
|
||||||
|
|
||||||
Future storeHDWChest(BuildContext context) async {
|
Future storeHDWChest(BuildContext context) async {
|
||||||
|
@ -89,12 +89,10 @@ class GenerateWalletsProvider with ChangeNotifier {
|
||||||
(kDebugMode && inputWord == 'triche')) {
|
(kDebugMode && inputWord == 'triche')) {
|
||||||
isAskedWordValid = true;
|
isAskedWordValid = true;
|
||||||
askedWordColor = Colors.green[600];
|
askedWordColor = Colors.green[600];
|
||||||
// walletNameFocus.nextFocus();
|
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
} else {
|
} else {
|
||||||
isAskedWordValid = false;
|
isAskedWordValid = false;
|
||||||
}
|
}
|
||||||
// notifyListeners();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
String removeDiacritics(String str) {
|
String removeDiacritics(String str) {
|
||||||
|
|
|
@ -18,7 +18,7 @@ import 'package:provider/provider.dart';
|
||||||
class HomeProvider with ChangeNotifier {
|
class HomeProvider with ChangeNotifier {
|
||||||
bool? isSearching;
|
bool? isSearching;
|
||||||
Icon searchIcon = const Icon(Icons.search);
|
Icon searchIcon = const Icon(Icons.search);
|
||||||
final TextEditingController searchQuery = TextEditingController();
|
final searchQuery = TextEditingController();
|
||||||
Widget appBarTitle = Text('Ğecko', style: TextStyle(color: Colors.grey[850]));
|
Widget appBarTitle = Text('Ğecko', style: TextStyle(color: Colors.grey[850]));
|
||||||
String homeMessage = "loading".tr();
|
String homeMessage = "loading".tr();
|
||||||
String defaultMessage = "noLizard".tr();
|
String defaultMessage = "noLizard".tr();
|
||||||
|
|
|
@ -3,7 +3,7 @@ import 'package:gecko/models/g1_wallets_list.dart';
|
||||||
import 'package:gecko/providers/wallets_profiles.dart';
|
import 'package:gecko/providers/wallets_profiles.dart';
|
||||||
|
|
||||||
class SearchProvider with ChangeNotifier {
|
class SearchProvider with ChangeNotifier {
|
||||||
TextEditingController searchController = TextEditingController();
|
final searchController = TextEditingController();
|
||||||
List searchResult = [];
|
List searchResult = [];
|
||||||
int resultLenght = 0;
|
int resultLenght = 0;
|
||||||
|
|
||||||
|
|
|
@ -20,14 +20,14 @@ import 'package:provider/provider.dart';
|
||||||
import 'package:image_cropper/image_cropper.dart';
|
import 'package:image_cropper/image_cropper.dart';
|
||||||
|
|
||||||
class WalletOptionsProvider with ChangeNotifier {
|
class WalletOptionsProvider with ChangeNotifier {
|
||||||
TextEditingController address = TextEditingController();
|
final address = TextEditingController();
|
||||||
final TextEditingController _newWalletName = TextEditingController();
|
final _newWalletName = TextEditingController();
|
||||||
bool isWalletUnlock = false;
|
bool isWalletUnlock = false;
|
||||||
bool ischangedPin = false;
|
bool ischangedPin = false;
|
||||||
TextEditingController newPin = TextEditingController();
|
final newPin = TextEditingController();
|
||||||
bool isEditing = false;
|
bool isEditing = false;
|
||||||
bool isBalanceBlur = false;
|
bool isBalanceBlur = false;
|
||||||
TextEditingController nameController = TextEditingController();
|
final nameController = TextEditingController();
|
||||||
late bool isDefaultWallet;
|
late bool isDefaultWallet;
|
||||||
bool canValidateNameBool = false;
|
bool canValidateNameBool = false;
|
||||||
Map<String, double> balanceCache = {};
|
Map<String, double> balanceCache = {};
|
||||||
|
@ -128,7 +128,7 @@ class WalletOptionsProvider with ChangeNotifier {
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<String?> confirmIdentityPopup(BuildContext context) async {
|
Future<String?> confirmIdentityPopup(BuildContext context) async {
|
||||||
TextEditingController idtyName = TextEditingController();
|
final idtyName = TextEditingController();
|
||||||
final sub = Provider.of<SubstrateSdk>(context, listen: false);
|
final sub = Provider.of<SubstrateSdk>(context, listen: false);
|
||||||
final walletOptions =
|
final walletOptions =
|
||||||
Provider.of<WalletOptionsProvider>(context, listen: false);
|
Provider.of<WalletOptionsProvider>(context, listen: false);
|
||||||
|
@ -256,7 +256,7 @@ class WalletOptionsProvider with ChangeNotifier {
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<String?> editWalletName(BuildContext context, List<int?> wID) async {
|
Future<String?> editWalletName(BuildContext context, List<int?> wID) async {
|
||||||
TextEditingController walletName = TextEditingController();
|
final walletName = TextEditingController();
|
||||||
canValidateNameBool = false;
|
canValidateNameBool = false;
|
||||||
|
|
||||||
return showDialog<String>(
|
return showDialog<String>(
|
||||||
|
@ -337,7 +337,7 @@ class WalletOptionsProvider with ChangeNotifier {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool canValidateName(BuildContext context, TextEditingController walletName) {
|
bool canValidateName(BuildContext context, final walletName) {
|
||||||
final myWalletProvider =
|
final myWalletProvider =
|
||||||
Provider.of<MyWalletsProvider>(context, listen: false);
|
Provider.of<MyWalletsProvider>(context, listen: false);
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,8 @@ class WalletsProfilesProvider with ChangeNotifier {
|
||||||
bool isHistoryScreen = false;
|
bool isHistoryScreen = false;
|
||||||
String historySwitchButtun = "Voir l'historique";
|
String historySwitchButtun = "Voir l'historique";
|
||||||
String? rawSvg;
|
String? rawSvg;
|
||||||
TextEditingController payAmount = TextEditingController();
|
final payAmount = TextEditingController();
|
||||||
TextEditingController payComment = TextEditingController();
|
final payComment = TextEditingController();
|
||||||
num? _balance;
|
num? _balance;
|
||||||
|
|
||||||
Future<String> scan(context) async {
|
Future<String> scan(context) async {
|
||||||
|
|
|
@ -25,7 +25,7 @@ class ChangePinScreen extends StatefulWidget with ChangeNotifier {
|
||||||
}
|
}
|
||||||
|
|
||||||
class _ChangePinScreenState extends State<ChangePinScreen> {
|
class _ChangePinScreenState extends State<ChangePinScreen> {
|
||||||
final TextEditingController newPin = TextEditingController();
|
final newPin = TextEditingController();
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
|
|
|
@ -23,7 +23,7 @@ class ChooseChest extends StatefulWidget {
|
||||||
}
|
}
|
||||||
|
|
||||||
class _ChooseChestState extends State<ChooseChest> {
|
class _ChooseChestState extends State<ChooseChest> {
|
||||||
TextEditingController tplController = TextEditingController();
|
final tplController = TextEditingController();
|
||||||
CarouselController buttonCarouselController = CarouselController();
|
CarouselController buttonCarouselController = CarouselController();
|
||||||
int? currentChest = configBox.get('currentChest');
|
int? currentChest = configBox.get('currentChest');
|
||||||
|
|
||||||
|
|
|
@ -175,7 +175,7 @@ class RestoreChest extends StatelessWidget {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget arrayCell(BuildContext context, TextEditingController cellCtl) {
|
Widget arrayCell(BuildContext context, final cellCtl) {
|
||||||
final generateWalletProvider =
|
final generateWalletProvider =
|
||||||
Provider.of<GenerateWalletsProvider>(context);
|
Provider.of<GenerateWalletsProvider>(context);
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ class UnlockingWallet extends StatelessWidget {
|
||||||
late int currentChestNumber;
|
late int currentChestNumber;
|
||||||
late ChestData currentChest;
|
late ChestData currentChest;
|
||||||
bool canUnlock = true;
|
bool canUnlock = true;
|
||||||
TextEditingController enterPin = TextEditingController();
|
final enterPin = TextEditingController();
|
||||||
FocusNode pinFocus = FocusNode(debugLabel: 'pinFocusNode');
|
FocusNode pinFocus = FocusNode(debugLabel: 'pinFocusNode');
|
||||||
|
|
||||||
// ignore: close_sinks
|
// ignore: close_sinks
|
||||||
|
|
|
@ -83,7 +83,7 @@ class WalletOptions extends StatelessWidget {
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
child: QrImageWidget(
|
child: QrImageView(
|
||||||
data: walletOptions.address.text,
|
data: walletOptions.address.text,
|
||||||
version: QrVersions.auto,
|
version: QrVersions.auto,
|
||||||
size: scaleSize(70),
|
size: scaleSize(70),
|
||||||
|
|
|
@ -30,7 +30,7 @@ class OnboardingStepTen extends StatelessWidget {
|
||||||
final formKey = GlobalKey<FormState>();
|
final formKey = GlobalKey<FormState>();
|
||||||
Color? pinColor = const Color(0xFFA4B600);
|
Color? pinColor = const Color(0xFFA4B600);
|
||||||
bool hasError = false;
|
bool hasError = false;
|
||||||
TextEditingController enterPin = TextEditingController();
|
final enterPin = TextEditingController();
|
||||||
FocusNode pinFocus = FocusNode(debugLabel: 'pinFocusNode');
|
FocusNode pinFocus = FocusNode(debugLabel: 'pinFocusNode');
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
|
@ -24,7 +24,7 @@ class OnboardingStepSix extends StatelessWidget {
|
||||||
final bool skipIntro;
|
final bool skipIntro;
|
||||||
String? generatedMnemonic;
|
String? generatedMnemonic;
|
||||||
final wordController = TextEditingController();
|
final wordController = TextEditingController();
|
||||||
final TextEditingController _mnemonicController = TextEditingController();
|
final _mnemonicController = TextEditingController();
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
|
|
@ -72,7 +72,7 @@ class _QrCodeFullscreenState extends State<QrCodeFullscreen> {
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
QrImageWidget(
|
QrImageView(
|
||||||
data: widget.address,
|
data: widget.address,
|
||||||
version: QrVersions.auto,
|
version: QrVersions.auto,
|
||||||
size: scaleSize(320),
|
size: scaleSize(320),
|
||||||
|
|
|
@ -88,7 +88,7 @@ class WalletViewScreen extends StatelessWidget {
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
child: QrImageWidget(
|
child: QrImageView(
|
||||||
data: walletProfile.address,
|
data: walletProfile.address,
|
||||||
version: QrVersions.auto,
|
version: QrVersions.auto,
|
||||||
size: scaleSize(65),
|
size: scaleSize(65),
|
||||||
|
|
131
pubspec.lock
131
pubspec.lock
|
@ -45,10 +45,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: archive
|
name: archive
|
||||||
sha256: "7b875fd4a20b165a3084bd2d210439b22ebc653f21cea4842729c0c30c82596b"
|
sha256: "22600aa1e926be775fa5fe7e6894e7fb3df9efda8891c73f70fb3262399a432d"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.4.9"
|
version: "3.4.10"
|
||||||
args:
|
args:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -69,10 +69,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: barcode
|
name: barcode
|
||||||
sha256: "789f898eef0bd88312470bdb2cc996f895ad7dd5f89e9adde84b204546a90b45"
|
sha256: "2a8b2ee065f419c2aeda141436cc556d91ae772d220fd80679f4d431d6c2ab43"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.2.4"
|
version: "2.2.5"
|
||||||
barcode_scan2:
|
barcode_scan2:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -173,18 +173,18 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: build_resolvers
|
name: build_resolvers
|
||||||
sha256: "64e12b0521812d1684b1917bc80945625391cb9bdd4312536b1d69dcb6133ed8"
|
sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.4.1"
|
version: "2.4.2"
|
||||||
build_runner:
|
build_runner:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description:
|
description:
|
||||||
name: build_runner
|
name: build_runner
|
||||||
sha256: "10c6bcdbf9d049a0b666702cf1cee4ddfdc38f02a19d35ae392863b47519848b"
|
sha256: "67d591d602906ef9201caf93452495ad1812bea2074f04e25dbd7c133785821b"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.4.6"
|
version: "2.4.7"
|
||||||
build_runner_core:
|
build_runner_core:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -205,10 +205,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: built_value
|
name: built_value
|
||||||
sha256: "69acb7007eb2a31dc901512bfe0f7b767168be34cb734835d54c070bfa74c1b2"
|
sha256: c9aabae0718ec394e5bc3c7272e6bb0dc0b32201a08fe185ec1d8401d3e39309
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "8.8.0"
|
version: "8.8.1"
|
||||||
carousel_slider:
|
carousel_slider:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -245,10 +245,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: code_builder
|
name: code_builder
|
||||||
sha256: b2151ce26a06171005b379ecff6e08d34c470180ffe16b8e14b6d52be292b55f
|
sha256: feee43a5c05e7b3199bb375a86430b8ada1b04104f2923d0e03cc01ca87b6d84
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "4.8.0"
|
version: "4.9.0"
|
||||||
collection:
|
collection:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -293,10 +293,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: cross_file
|
name: cross_file
|
||||||
sha256: "2f9d2cbccb76127ba28528cb3ae2c2326a122446a83de5a056aaa3880d3882c5"
|
sha256: fedaadfa3a6996f75211d835aaeb8fede285dae94262485698afd832371b9a5e
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.3.3+7"
|
version: "0.3.3+8"
|
||||||
crypto:
|
crypto:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -357,10 +357,10 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: dio
|
name: dio
|
||||||
sha256: "01870acd87986f768e0c09cc4d7a19a59d814af7b34cbeb0b437d2c33bdfea4c"
|
sha256: "797e1e341c3dd2f69f2dad42564a6feff3bfb87187d05abb93b9609e6f1645c3"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "5.3.4"
|
version: "5.4.0"
|
||||||
dots_indicator:
|
dots_indicator:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -755,10 +755,10 @@ packages:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description:
|
description:
|
||||||
name: icons_launcher
|
name: icons_launcher
|
||||||
sha256: "0c4a46dfbc1e9025745c1d28949149d601bdf56a892338e74c4b4dd9a7066987"
|
sha256: "3ed4560181f238e69ca5d55589d6946ef31e6a321c934251a26ce1d9e9867305"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.1.5"
|
version: "2.1.6"
|
||||||
image:
|
image:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -795,18 +795,18 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: image_picker
|
name: image_picker
|
||||||
sha256: "7d7f2768df2a8b0a3cefa5ef4f84636121987d403130e70b17ef7e2cf650ba84"
|
sha256: fc712337719239b0b6e41316aa133350b078fa39b6cbd706b61f3fd421b03c77
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.4"
|
version: "1.0.5"
|
||||||
image_picker_android:
|
image_picker_android:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: image_picker_android
|
name: image_picker_android
|
||||||
sha256: d6a6e78821086b0b737009b09363018309bbc6de3fd88cc5c26bc2bb44a4957f
|
sha256: ecdc963d2aa67af5195e723a40580f802d4392e31457a12a562b3e2bd6a396fe
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.8.8+2"
|
version: "0.8.9+1"
|
||||||
image_picker_for_web:
|
image_picker_for_web:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -819,10 +819,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: image_picker_ios
|
name: image_picker_ios
|
||||||
sha256: "76ec722aeea419d03aa915c2c96bf5b47214b053899088c9abb4086ceecf97a7"
|
sha256: eac0a62104fa12feed213596df0321f57ce5a572562f72a68c4ff81e9e4caacf
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.8.8+4"
|
version: "0.8.9"
|
||||||
image_picker_linux:
|
image_picker_linux:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -976,10 +976,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: mobx
|
name: mobx
|
||||||
sha256: "42ae7277ec5c36fa5ce02aa14551065babce3c38a35947330144ff47bc775c75"
|
sha256: "6b467f91bfc534922ea670db69a1972d28bd9754085892decb5bce19f2c8d0d5"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.2.1"
|
version: "2.3.0"
|
||||||
nested:
|
nested:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1056,10 +1056,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: path_provider_android
|
name: path_provider_android
|
||||||
sha256: e595b98692943b4881b219f0a9e3945118d3c16bd7e2813f98ec6e532d905f72
|
sha256: "477184d672607c0a3bf68fbbf601805f92ef79c82b64b4d6eb318cbca4c48668"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.2.1"
|
version: "2.2.2"
|
||||||
path_provider_foundation:
|
path_provider_foundation:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1096,10 +1096,10 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: pdf
|
name: pdf
|
||||||
sha256: aa8835fcb9cfaf57ab2f1970e8548ceed3d0cb53eda7da906648f8153eaf37c9
|
sha256: "93cbb2c06de9bab91844550f19896b2373e7a5ce25173995e7e5ec5e1741429d"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.10.6"
|
version: "3.10.7"
|
||||||
permission_handler:
|
permission_handler:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -1128,10 +1128,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: permission_handler_html
|
name: permission_handler_html
|
||||||
sha256: d96ff56a757b7f04fa825c469d296c5aebc55f743e87bd639fef91a466a24da8
|
sha256: "11b762a8c123dced6461933a88ea1edbbe036078c3f9f41b08886e678e7864df"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.1.0+1"
|
version: "0.1.0+2"
|
||||||
permission_handler_platform_interface:
|
permission_handler_platform_interface:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1152,10 +1152,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: petitparser
|
name: petitparser
|
||||||
sha256: eeb2d1428ee7f4170e2bd498827296a18d4e7fc462b71727d111c0ac7707cfa6
|
sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "6.0.1"
|
version: "6.0.2"
|
||||||
pin_code_fields:
|
pin_code_fields:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -1280,12 +1280,11 @@ packages:
|
||||||
qr_flutter:
|
qr_flutter:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: "."
|
name: qr_flutter
|
||||||
ref: master
|
sha256: "5095f0fc6e3f71d08adef8feccc8cea4f12eec18a2e31c2e8d82cb6019f4b097"
|
||||||
resolved-ref: bd3fc334a87e0898bb0092036e74bb99cd7ad4e3
|
url: "https://pub.dev"
|
||||||
url: "https://github.com/insinfo/qr.flutter.git"
|
source: hosted
|
||||||
source: git
|
version: "4.1.0"
|
||||||
version: "4.0.0"
|
|
||||||
rational:
|
rational:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1378,18 +1377,18 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: sentry
|
name: sentry
|
||||||
sha256: e7ded42974bac5f69e4ca4ddc57d30499dd79381838f24b7e8fd9aa4139e7b79
|
sha256: "89e426587b0879e53c46a0aae0eb312696d9d2d803ba14b252a65cc24b1416a2"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "7.13.2"
|
version: "7.14.0"
|
||||||
sentry_flutter:
|
sentry_flutter:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: sentry_flutter
|
name: sentry_flutter
|
||||||
sha256: d6f55ec7a1f681784165021f749007712a72ff57eadf91e963331b6ae326f089
|
sha256: fd089ee4e75a927be037c56815a0a54af5a519f52b803a5ffecb589bb36e2401
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "7.13.2"
|
version: "7.14.0"
|
||||||
shared_preferences:
|
shared_preferences:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1471,10 +1470,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: source_gen
|
name: source_gen
|
||||||
sha256: fc0da689e5302edb6177fdd964efcb7f58912f43c28c2047a808f5bfff643d16
|
sha256: "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.4.0"
|
version: "1.5.0"
|
||||||
source_helper:
|
source_helper:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1599,10 +1598,10 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: url_launcher
|
name: url_launcher
|
||||||
sha256: b1c9e98774adf8820c96fbc7ae3601231d324a7d5ebd8babe27b6dfac91357ba
|
sha256: e9aa5ea75c84cf46b3db4eea212523591211c3cf2e13099ee4ec147f54201c86
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "6.2.1"
|
version: "6.2.2"
|
||||||
url_launcher_android:
|
url_launcher_android:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1623,10 +1622,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: url_launcher_linux
|
name: url_launcher_linux
|
||||||
sha256: "9f2d390e096fdbe1e6e6256f97851e51afc2d9c423d3432f1d6a02a8a9a8b9fd"
|
sha256: ab360eb661f8879369acac07b6bb3ff09d9471155357da8443fd5d3cf7363811
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.1.0"
|
version: "3.1.1"
|
||||||
url_launcher_macos:
|
url_launcher_macos:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1647,18 +1646,18 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: url_launcher_web
|
name: url_launcher_web
|
||||||
sha256: "138bd45b3a456dcfafc46d1a146787424f8d2edfbf2809c9324361e58f851cf7"
|
sha256: "7286aec002c8feecc338cc33269e96b73955ab227456e9fb2a91f7fab8a358e9"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.2.1"
|
version: "2.2.2"
|
||||||
url_launcher_windows:
|
url_launcher_windows:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: url_launcher_windows
|
name: url_launcher_windows
|
||||||
sha256: "7754a1ad30ee896b265f8d14078b0513a4dba28d358eabb9d5f339886f4a1adc"
|
sha256: ecf9725510600aa2bb6d7ddabe16357691b6d2805f66216a97d1b881e21beff7
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.1.0"
|
version: "3.1.1"
|
||||||
uuid:
|
uuid:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -1711,10 +1710,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: wallet
|
name: wallet
|
||||||
sha256: "569c91c2af13a9e1119c001f9c09218eccf3f383eb8d15ba13a5b558010c1bc0"
|
sha256: "687fd89a16557649b26189e597792962f405797fc64113e8758eabc2c2605c32"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.0.12+1"
|
version: "0.0.13"
|
||||||
watcher:
|
watcher:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1767,34 +1766,34 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: webview_flutter_android
|
name: webview_flutter_android
|
||||||
sha256: "8326ee235f87605a2bfc444a4abc897f4abc78d83f054ba7d3d1074ce82b4fbf"
|
sha256: b54c89fe14a6d26a2a46e24880da0441cdd2bf1f6d01a5b3e1d39558feb1de0b
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.12.1"
|
version: "3.13.1"
|
||||||
webview_flutter_platform_interface:
|
webview_flutter_platform_interface:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: webview_flutter_platform_interface
|
name: webview_flutter_platform_interface
|
||||||
sha256: adb8c03c2be231bea5a8ed0e9039e9d18dbb049603376beaefa15393ede468a5
|
sha256: dbe745ee459a16b6fec296f7565a8ef430d0d681001d8ae521898b9361854943
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.7.0"
|
version: "2.9.0"
|
||||||
webview_flutter_wkwebview:
|
webview_flutter_wkwebview:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: webview_flutter_wkwebview
|
name: webview_flutter_wkwebview
|
||||||
sha256: accdaaa49a2aca2dc3c3230907988954cdd23fed0a19525d6c9789d380f4dc76
|
sha256: eebfabfa8a115b535b52031b8b26f7a4b58ceceab378bc9db8762b0fb46f7b5d
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.9.4"
|
version: "3.10.0"
|
||||||
win32:
|
win32:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: win32
|
name: win32
|
||||||
sha256: "7c99c0e1e2fa190b48d25c81ca5e42036d5cac81430ef249027d97b0935c553f"
|
sha256: b0f37db61ba2f2e9b7a78a1caece0052564d1bc70668156cf3a29d676fe4e574
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "5.1.0"
|
version: "5.1.1"
|
||||||
xdg_directories:
|
xdg_directories:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1807,10 +1806,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: xml
|
name: xml
|
||||||
sha256: af5e77e9b83f2f4adc5d3f0a4ece1c7f45a2467b695c2540381bac793e34e556
|
sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "6.4.2"
|
version: "6.5.0"
|
||||||
yaml:
|
yaml:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
53
pubspec.yaml
53
pubspec.yaml
|
@ -14,29 +14,26 @@ dependencies:
|
||||||
flutter:
|
flutter:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
bubble: ^1.2.1
|
bubble: ^1.2.1
|
||||||
carousel_slider: ^4.0.0
|
carousel_slider: ^4.2.1
|
||||||
graphql_flutter: ^5.1.1-beta.4
|
graphql_flutter: ^5.1.2
|
||||||
hive_flutter: ^1.1.0
|
hive_flutter: ^1.1.0
|
||||||
image_picker: ^1.0.4
|
image_picker: ^1.0.5
|
||||||
jdenticon_dart: ^2.0.0
|
jdenticon_dart: ^2.0.0
|
||||||
logger: ^2.0.2+1
|
logger: ^2.0.2+1
|
||||||
path_provider: ^2.0.11
|
path_provider: ^2.1.1
|
||||||
pdf: ^3.7.1
|
pdf: ^3.10.7
|
||||||
permission_handler: ^11.0.1
|
permission_handler: ^11.1.0
|
||||||
pin_code_fields: ^8.0.1
|
pin_code_fields: ^8.0.1
|
||||||
printing: ^5.10.1
|
printing: ^5.11.1
|
||||||
provider: ^6.0.1
|
provider: ^6.1.1
|
||||||
barcode_scan2: ^4.2.1
|
barcode_scan2: ^4.3.0
|
||||||
qr_flutter: #^4.0.0
|
qr_flutter: ^4.1.0
|
||||||
git:
|
|
||||||
url: https://github.com/insinfo/qr.flutter.git
|
|
||||||
ref: master
|
|
||||||
responsive_framework: ^1.1.1
|
responsive_framework: ^1.1.1
|
||||||
sentry_flutter: ^7.4.1
|
sentry_flutter: ^7.14.0
|
||||||
truncate: ^3.0.1
|
truncate: ^3.0.1
|
||||||
unorm_dart: ^0.3.0
|
unorm_dart: ^0.3.0
|
||||||
dio: ^5.0.1
|
dio: ^5.4.0
|
||||||
durt: ^0.1.6
|
durt: ^0.1.7
|
||||||
package_info_plus: ^5.0.1
|
package_info_plus: ^5.0.1
|
||||||
polkawallet_sdk: #^0.5.2
|
polkawallet_sdk: #^0.5.2
|
||||||
git:
|
git:
|
||||||
|
@ -46,19 +43,19 @@ dependencies:
|
||||||
# ref: gecko-fixes-3
|
# ref: gecko-fixes-3
|
||||||
ref: 8b254d9e98cb367b4a57d67f8c6f5bbe89a52552
|
ref: 8b254d9e98cb367b4a57d67f8c6f5bbe89a52552
|
||||||
dots_indicator: ^3.0.0
|
dots_indicator: ^3.0.0
|
||||||
connectivity_plus: ^3.0.2
|
connectivity_plus: ^3.0.6
|
||||||
image_cropper: ^4.0.1
|
image_cropper: ^4.0.1
|
||||||
easy_localization: ^3.0.1
|
easy_localization: ^3.0.3
|
||||||
flutter_markdown: ^0.6.10+2
|
flutter_markdown: ^0.6.18+2
|
||||||
pointycastle: ^3.6.1
|
pointycastle: ^3.7.3
|
||||||
hex: ^0.2.0
|
hex: ^0.2.0
|
||||||
accordion: ^2.5.1
|
accordion: ^2.6.0
|
||||||
flutter_svg: ^2.0.2
|
flutter_svg: ^2.0.9
|
||||||
pinenacl: ^0.3.3
|
pinenacl: ^0.3.4
|
||||||
fast_base58: ^0.2.1
|
fast_base58: ^0.2.1
|
||||||
tutorial_coach_mark: ^1.2.8
|
tutorial_coach_mark: ^1.2.11
|
||||||
confetti: ^0.7.0
|
confetti: ^0.7.0
|
||||||
url_launcher: ^6.1.11
|
url_launcher: ^6.2.2
|
||||||
crypto: ^3.0.3
|
crypto: ^3.0.3
|
||||||
screen_brightness: ^0.2.2+1
|
screen_brightness: ^0.2.2+1
|
||||||
uuid: ^3.0.7
|
uuid: ^3.0.7
|
||||||
|
@ -66,15 +63,15 @@ dependencies:
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
# flutter_launcher_icons: ^0.9.2
|
# flutter_launcher_icons: ^0.9.2
|
||||||
# flutter_launcher_icons_maker: ^^0.10.2
|
# flutter_launcher_icons_maker: ^^0.10.2
|
||||||
icons_launcher: ^2.0.6
|
icons_launcher: ^2.1.6
|
||||||
build_runner: ^2.1.2
|
build_runner: ^2.4.7
|
||||||
hive_generator: ^2.0.1
|
hive_generator: ^2.0.1
|
||||||
flutter_lints: ^3.0.1
|
flutter_lints: ^3.0.1
|
||||||
flutter_test:
|
flutter_test:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
integration_test:
|
integration_test:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
dart_code_metrics: ^5.0.1
|
dart_code_metrics: ^5.7.6
|
||||||
|
|
||||||
icons_launcher:
|
icons_launcher:
|
||||||
image_path: "assets/icon/gecko_flat.png"
|
image_path: "assets/icon/gecko_flat.png"
|
||||||
|
|
|
@ -0,0 +1,47 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
from ruamel.yaml import YAML
|
||||||
|
|
||||||
|
# Define the file paths
|
||||||
|
pubspec_yaml_path = "pubspec.yaml"
|
||||||
|
pubspec_lock_path = "pubspec.lock"
|
||||||
|
|
||||||
|
# Initialize YAML parser/loader
|
||||||
|
yaml = YAML()
|
||||||
|
yaml.preserve_quotes = True
|
||||||
|
yaml.indent(mapping=2, sequence=4, offset=2)
|
||||||
|
|
||||||
|
# Read the pubspec.lock file and extract the package versions
|
||||||
|
lock_versions = {}
|
||||||
|
with open(pubspec_lock_path, 'r') as lock_file:
|
||||||
|
lock_data = yaml.load(lock_file)
|
||||||
|
for package_name, package_info in lock_data['packages'].items():
|
||||||
|
lock_versions[package_name] = package_info['version']
|
||||||
|
|
||||||
|
# Read the pubspec.yaml file
|
||||||
|
with open(pubspec_yaml_path, 'r') as yaml_file:
|
||||||
|
yaml_data = yaml.load(yaml_file)
|
||||||
|
|
||||||
|
# Function to preserve formatting and update versions
|
||||||
|
def update_dependency_versions(dependencies_section):
|
||||||
|
if not dependencies_section:
|
||||||
|
return
|
||||||
|
|
||||||
|
for package, details in dependencies_section.items():
|
||||||
|
# Skip if it's an SDK or Git dependency
|
||||||
|
if isinstance(details, dict) and ('sdk' in details or 'git' in details):
|
||||||
|
continue
|
||||||
|
|
||||||
|
# Update version if the package exists in lock_versions
|
||||||
|
if package in lock_versions:
|
||||||
|
dependencies_section[package] = "^" + lock_versions[package]
|
||||||
|
|
||||||
|
# Update the dependency versions in pubspec.yaml
|
||||||
|
update_dependency_versions(yaml_data.get('dependencies', {}))
|
||||||
|
update_dependency_versions(yaml_data.get('dev_dependencies', {}))
|
||||||
|
|
||||||
|
# Write the updated data back to pubspec.yaml
|
||||||
|
with open(pubspec_yaml_path, 'w') as yaml_file:
|
||||||
|
yaml.dump(yaml_data, yaml_file)
|
||||||
|
|
||||||
|
print("pubspec.yaml has been updated with versions from pubspec.lock.")
|
Loading…
Reference in New Issue