Updated to flutter v1.22.2

This commit is contained in:
M 2020-10-19 14:20:24 +03:00
parent 598b8c9b9c
commit 6b86cfbea2
5 changed files with 261 additions and 284 deletions

1
.gitignore vendored
View file

@ -92,3 +92,4 @@ android/key.properties
vendor/ vendor/
android/app/.cxx/** android/app/.cxx/**
ios/Flutter/.last_build_id

View file

@ -8,7 +8,7 @@ import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart'; import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:flutter_mobx/flutter_mobx.dart'; import 'package:flutter_mobx/flutter_mobx.dart';
import 'package:cw_monero/wallet.dart' as monero_wallet; import 'package:cw_monero/wallet.dart' as monero_wallet;
import 'package:cake_wallet/router.dart'; import 'package:cake_wallet/router.dart' as Router;
import 'package:cake_wallet/routes.dart'; import 'package:cake_wallet/routes.dart';
import 'package:cake_wallet/generated/i18n.dart'; import 'package:cake_wallet/generated/i18n.dart';
import 'package:cake_wallet/reactions/bootstrap.dart'; import 'package:cake_wallet/reactions/bootstrap.dart';
@ -144,7 +144,7 @@ class App extends StatelessWidget {
], ],
supportedLocales: S.delegate.supportedLocales, supportedLocales: S.delegate.supportedLocales,
locale: Locale(settingsStore.languageCode), locale: Locale(settingsStore.languageCode),
onGenerateRoute: (settings) => Router.generateRoute(settings), onGenerateRoute: (settings) => Router.createRoute(settings),
initialRoute: initialRoute, initialRoute: initialRoute,
)); ));
}); });

View file

@ -49,271 +49,265 @@ import 'package:cake_wallet/src/screens/exchange/exchange_template_page.dart';
import 'package:cake_wallet/src/screens/exchange_trade/exchange_confirm_page.dart'; import 'package:cake_wallet/src/screens/exchange_trade/exchange_confirm_page.dart';
import 'package:cake_wallet/src/screens/exchange_trade/exchange_trade_page.dart'; import 'package:cake_wallet/src/screens/exchange_trade/exchange_trade_page.dart';
class Router { Route<dynamic> createRoute(RouteSettings settings) {
static Route<dynamic> generateRoute(RouteSettings settings) { switch (settings.name) {
switch (settings.name) { case Routes.welcome:
case Routes.welcome: return MaterialPageRoute<void>(builder: (_) => createWelcomePage());
return MaterialPageRoute<void>(builder: (_) => createWelcomePage());
case Routes.newWalletFromWelcome: case Routes.newWalletFromWelcome:
return CupertinoPageRoute<void>( return CupertinoPageRoute<void>(
builder: (_) => getIt.get<SetupPinCodePage>( builder: (_) => getIt.get<SetupPinCodePage>(
param1: (BuildContext context, dynamic _) => param1: (BuildContext context, dynamic _) =>
Navigator.pushNamed(context, Routes.newWallet)), Navigator.pushNamed(context, Routes.newWallet)),
fullscreenDialog: true); fullscreenDialog: true);
case Routes.newWalletType: case Routes.newWalletType:
return CupertinoPageRoute<void>( return CupertinoPageRoute<void>(
builder: (_) => NewWalletTypePage( builder: (_) => NewWalletTypePage(
onTypeSelected: (context, type) => Navigator.of(context)
.pushNamed(Routes.newWallet, arguments: type)));
case Routes.newWallet:
final type = WalletType.monero; // settings.arguments as WalletType;
final walletNewVM = getIt.get<WalletNewVM>(param1: type);
return CupertinoPageRoute<void>(
builder: (_) => NewWalletPage(walletNewVM));
case Routes.setupPin:
Function(BuildContext, String) callback;
if (settings.arguments is Function(BuildContext, String)) {
callback = settings.arguments as Function(BuildContext, String);
}
return CupertinoPageRoute<void>(
builder: (_) => getIt.get<SetupPinCodePage>(param1: callback));
case Routes.restoreWalletType:
return CupertinoPageRoute<void>(
builder: (_) => NewWalletTypePage(
onTypeSelected: (context, type) => Navigator.of(context) onTypeSelected: (context, type) => Navigator.of(context)
.pushNamed(Routes.newWallet, arguments: type))); .pushNamed(Routes.restoreWalletOptions, arguments: type),
isNewWallet: false,
));
case Routes.newWallet: case Routes.restoreOptions:
final type = WalletType.monero; // settings.arguments as WalletType; final type = settings.arguments as WalletType;
final walletNewVM = getIt.get<WalletNewVM>(param1: type); return CupertinoPageRoute<void>(
builder: (_) => RestoreOptionsPage(type: type));
return CupertinoPageRoute<void>( case Routes.restoreWalletOptions:
builder: (_) => NewWalletPage(walletNewVM)); final type = WalletType.monero; //settings.arguments as WalletType;
case Routes.setupPin: return CupertinoPageRoute<void>(
Function(BuildContext, String) callback; builder: (_) => RestoreWalletOptionsPage(
type: type,
onRestoreFromSeed: (context) {
final route = type == WalletType.monero
? Routes.seedLanguage
: Routes.restoreWalletFromSeed;
final args = type == WalletType.monero
? [type, Routes.restoreWalletFromSeed]
: [type];
if (settings.arguments is Function(BuildContext, String)) { Navigator.of(context).pushNamed(route, arguments: args);
callback = settings.arguments as Function(BuildContext, String); },
} onRestoreFromKeys: (context) {
final route = type == WalletType.monero
? Routes.seedLanguage
: Routes.restoreWalletFromKeys;
final args = type == WalletType.monero
? [type, Routes.restoreWalletFromKeys]
: [type];
return CupertinoPageRoute<void>( Navigator.of(context).pushNamed(route, arguments: args);
builder: (_) => getIt.get<SetupPinCodePage>(param1: callback)); }));
case Routes.restoreWalletType: case Routes.restoreWalletOptionsFromWelcome:
return CupertinoPageRoute<void>( return CupertinoPageRoute<void>(
builder: (_) => NewWalletTypePage( builder: (_) => getIt.get<SetupPinCodePage>(
onTypeSelected: (context, type) => Navigator.of(context) param1: (BuildContext context, dynamic _) =>
.pushNamed(Routes.restoreWalletOptions, arguments: type), Navigator.pushNamed(context, Routes.restoreWallet)),
isNewWallet: false, fullscreenDialog: true);
));
case Routes.restoreOptions: case Routes.seed:
final type = settings.arguments as WalletType; return MaterialPageRoute<void>(
return CupertinoPageRoute<void>( builder: (_) =>
builder: (_) => RestoreOptionsPage(type: type)); getIt.get<WalletSeedPage>(param1: settings.arguments as bool));
case Routes.restoreWalletOptions: case Routes.restoreWallet:
final type = WalletType.monero; //settings.arguments as WalletType; return MaterialPageRoute<void>(
builder: (_) =>
getIt.get<WalletRestorePage>(param1: WalletType.monero));
return CupertinoPageRoute<void>( case Routes.restoreWalletFromSeed:
builder: (_) => RestoreWalletOptionsPage( // final args = settings.arguments as List<dynamic>;
type: type, final type = WalletType.monero; //args.first as WalletType;
onRestoreFromSeed: (context) { // final language = type == WalletType.monero
final route = type == WalletType.monero // ? args[1] as String
? Routes.seedLanguage // : LanguageList.english;
: Routes.restoreWalletFromSeed;
final args = type == WalletType.monero
? [type, Routes.restoreWalletFromSeed]
: [type];
Navigator.of(context).pushNamed(route, arguments: args); return CupertinoPageRoute<void>(
}, builder: (_) => RestoreWalletFromSeedPage(type: type));
onRestoreFromKeys: (context) {
final route = type == WalletType.monero
? Routes.seedLanguage
: Routes.restoreWalletFromKeys;
final args = type == WalletType.monero
? [type, Routes.restoreWalletFromKeys]
: [type];
Navigator.of(context).pushNamed(route, arguments: args); case Routes.restoreWalletFromKeys:
})); final args = settings.arguments as List<dynamic>;
final type = args.first as WalletType;
final language =
type == WalletType.monero ? args[1] as String : LanguageList.english;
case Routes.restoreWalletOptionsFromWelcome: final walletRestorationFromKeysVM =
return CupertinoPageRoute<void>( getIt.get<WalletRestorationFromKeysVM>(param1: [type, language]);
builder: (_) => getIt.get<SetupPinCodePage>(
param1: (BuildContext context, dynamic _) =>
Navigator.pushNamed(context, Routes.restoreWallet)),
fullscreenDialog: true);
case Routes.seed: return CupertinoPageRoute<void>(
return MaterialPageRoute<void>( builder: (_) => RestoreWalletFromKeysPage(
builder: (_) => walletRestorationFromKeysVM: walletRestorationFromKeysVM));
getIt.get<WalletSeedPage>(param1: settings.arguments as bool));
case Routes.restoreWallet: case Routes.dashboard:
return MaterialPageRoute<void>( return CupertinoPageRoute<void>(
builder: (_) => builder: (_) => getIt.get<DashboardPage>());
getIt.get<WalletRestorePage>(param1: WalletType.monero));
case Routes.restoreWalletFromSeed: case Routes.send:
// final args = settings.arguments as List<dynamic>; return CupertinoPageRoute<void>(
final type = WalletType.monero; //args.first as WalletType; fullscreenDialog: true, builder: (_) => getIt.get<SendPage>());
// final language = type == WalletType.monero
// ? args[1] as String
// : LanguageList.english;
return CupertinoPageRoute<void>( case Routes.sendTemplate:
builder: (_) => RestoreWalletFromSeedPage(type: type)); return CupertinoPageRoute<void>(
fullscreenDialog: true,
builder: (_) => getIt.get<SendTemplatePage>());
case Routes.restoreWalletFromKeys: case Routes.receive:
final args = settings.arguments as List<dynamic>; return CupertinoPageRoute<void>(
final type = args.first as WalletType; fullscreenDialog: true, builder: (_) => getIt.get<ReceivePage>());
final language = type == WalletType.monero
? args[1] as String
: LanguageList.english;
final walletRestorationFromKeysVM = case Routes.transactionDetails:
getIt.get<WalletRestorationFromKeysVM>(param1: [type, language]); return CupertinoPageRoute<void>(
fullscreenDialog: true,
builder: (_) =>
TransactionDetailsPage(settings.arguments as TransactionInfo));
return CupertinoPageRoute<void>( case Routes.newSubaddress:
builder: (_) => RestoreWalletFromKeysPage( return CupertinoPageRoute<void>(
walletRestorationFromKeysVM: walletRestorationFromKeysVM)); builder: (_) =>
getIt.get<AddressEditOrCreatePage>(param1: settings.arguments));
case Routes.dashboard: case Routes.disclaimer:
return CupertinoPageRoute<void>( return CupertinoPageRoute<void>(builder: (_) => DisclaimerPage());
builder: (_) => getIt.get<DashboardPage>());
case Routes.send: case Routes.readDisclaimer:
return CupertinoPageRoute<void>( return CupertinoPageRoute<void>(
fullscreenDialog: true, builder: (_) => getIt.get<SendPage>()); builder: (_) => DisclaimerPage(isReadOnly: true));
case Routes.sendTemplate: case Routes.seedLanguage:
return CupertinoPageRoute<void>( final args = settings.arguments as List<dynamic>;
fullscreenDialog: true, final type = args.first as WalletType;
builder: (_) => getIt.get<SendTemplatePage>()); final redirectRoute = args[1] as String;
case Routes.receive: return CupertinoPageRoute<void>(builder: (_) {
return CupertinoPageRoute<void>( return SeedLanguage(
fullscreenDialog: true, builder: (_) => getIt.get<ReceivePage>()); onConfirm: (context, lang) => Navigator.of(context)
.popAndPushNamed(redirectRoute, arguments: [type, lang]));
});
case Routes.transactionDetails: case Routes.walletList:
return CupertinoPageRoute<void>( return MaterialPageRoute<void>(
fullscreenDialog: true, fullscreenDialog: true, builder: (_) => getIt.get<WalletListPage>());
builder: (_) =>
TransactionDetailsPage(settings.arguments as TransactionInfo));
case Routes.newSubaddress: case Routes.auth:
return CupertinoPageRoute<void>( return MaterialPageRoute<void>(
builder: (_) => fullscreenDialog: true,
getIt.get<AddressEditOrCreatePage>(param1: settings.arguments)); builder: (_) => getIt.get<AuthPage>(
param1: settings.arguments as OnAuthenticationFinished,
param2: true));
case Routes.disclaimer: case Routes.unlock:
return CupertinoPageRoute<void>(builder: (_) => DisclaimerPage()); return MaterialPageRoute<void>(
fullscreenDialog: true,
builder: (_) => getIt.get<AuthPage>(
param1: settings.arguments as OnAuthenticationFinished,
param2: false));
case Routes.readDisclaimer: case Routes.nodeList:
return CupertinoPageRoute<void>( return CupertinoPageRoute<void>(
builder: (_) => DisclaimerPage(isReadOnly: true)); builder: (_) => getIt.get<NodeListPage>());
case Routes.seedLanguage: case Routes.newNode:
final args = settings.arguments as List<dynamic>; return CupertinoPageRoute<void>(
final type = args.first as WalletType; builder: (_) => getIt.get<NodeCreateOrEditPage>());
final redirectRoute = args[1] as String;
return CupertinoPageRoute<void>(builder: (_) { case Routes.login:
return SeedLanguage( return CupertinoPageRoute<void>(
onConfirm: (context, lang) => Navigator.of(context) builder: (context) => getIt.get<AuthPage>(instanceName: 'login'),
.popAndPushNamed(redirectRoute, arguments: [type, lang])); fullscreenDialog: true);
});
case Routes.walletList: case Routes.accountCreation:
return MaterialPageRoute<void>( return CupertinoPageRoute<String>(
fullscreenDialog: true, builder: (_) => getIt.get<MoneroAccountEditOrCreatePage>());
builder: (_) => getIt.get<WalletListPage>());
case Routes.auth: case Routes.addressBook:
return MaterialPageRoute<void>( return MaterialPageRoute<void>(
fullscreenDialog: true, builder: (_) => getIt.get<ContactListPage>(param1: true));
builder: (_) => getIt.get<AuthPage>(
param1: settings.arguments as OnAuthenticationFinished,
param2: true));
case Routes.unlock: case Routes.pickerAddressBook:
return MaterialPageRoute<void>( return MaterialPageRoute<void>(
fullscreenDialog: true, builder: (_) => getIt.get<ContactListPage>(param1: false));
builder: (_) => getIt.get<AuthPage>(
param1: settings.arguments as OnAuthenticationFinished,
param2: false));
case Routes.nodeList: case Routes.addressBookAddContact:
return CupertinoPageRoute<void>( return CupertinoPageRoute<void>(
builder: (_) => getIt.get<NodeListPage>()); builder: (_) => getIt.get<ContactPage>(
param1: settings.arguments as ContactRecord));
case Routes.newNode: case Routes.showKeys:
return CupertinoPageRoute<void>( return MaterialPageRoute<void>(
builder: (_) => getIt.get<NodeCreateOrEditPage>()); builder: (_) => getIt.get<WalletKeysPage>(), fullscreenDialog: true);
case Routes.login: case Routes.exchangeTrade:
return CupertinoPageRoute<void>( return CupertinoPageRoute<void>(
builder: (context) => getIt.get<AuthPage>(instanceName: 'login'), builder: (_) => getIt.get<ExchangeTradePage>());
fullscreenDialog: true);
case Routes.accountCreation: case Routes.exchangeConfirm:
return CupertinoPageRoute<String>( return MaterialPageRoute<void>(
builder: (_) => getIt.get<MoneroAccountEditOrCreatePage>()); builder: (_) => getIt.get<ExchangeConfirmPage>());
case Routes.addressBook: case Routes.tradeDetails:
return MaterialPageRoute<void>( return MaterialPageRoute<void>(
builder: (_) => getIt.get<ContactListPage>(param1: true)); builder: (_) => TradeDetailsPage(settings.arguments as Trade));
case Routes.pickerAddressBook: case Routes.restoreWalletFromSeedDetails:
return MaterialPageRoute<void>( final args = settings.arguments as List;
builder: (_) => getIt.get<ContactListPage>(param1: false)); final walletRestorationFromSeedVM =
getIt.get<WalletRestorationFromSeedVM>(param1: args);
case Routes.addressBookAddContact: return CupertinoPageRoute<void>(
return CupertinoPageRoute<void>( builder: (_) => RestoreWalletFromSeedDetailsPage(
builder: (_) => getIt.get<ContactPage>( walletRestorationFromSeedVM: walletRestorationFromSeedVM));
param1: settings.arguments as ContactRecord));
case Routes.showKeys: case Routes.exchange:
return MaterialPageRoute<void>( return CupertinoPageRoute<void>(
builder: (_) => getIt.get<WalletKeysPage>(), builder: (_) => getIt.get<ExchangePage>());
fullscreenDialog: true);
case Routes.exchangeTrade: case Routes.exchangeTemplate:
return CupertinoPageRoute<void>( return CupertinoPageRoute<void>(
builder: (_) => getIt.get<ExchangeTradePage>()); builder: (_) => getIt.get<ExchangeTemplatePage>());
case Routes.exchangeConfirm: case Routes.settings:
return MaterialPageRoute<void>( return MaterialPageRoute<void>(builder: (_) => getIt.get<SettingsPage>());
builder: (_) => getIt.get<ExchangeConfirmPage>());
case Routes.tradeDetails: case Routes.rescan:
return MaterialPageRoute<void>( return MaterialPageRoute<void>(builder: (_) => getIt.get<RescanPage>());
builder: (_) => TradeDetailsPage(settings.arguments as Trade));
case Routes.restoreWalletFromSeedDetails: case Routes.faq:
final args = settings.arguments as List; return MaterialPageRoute<void>(builder: (_) => getIt.get<FaqPage>());
final walletRestorationFromSeedVM =
getIt.get<WalletRestorationFromSeedVM>(param1: args);
return CupertinoPageRoute<void>( case Routes.changeLanguage:
builder: (_) => RestoreWalletFromSeedDetailsPage( return MaterialPageRoute<void>(
walletRestorationFromSeedVM: walletRestorationFromSeedVM)); builder: (_) => getIt.get<LanguageListPage>());
case Routes.exchange: default:
return CupertinoPageRoute<void>( return MaterialPageRoute<void>(
builder: (_) => getIt.get<ExchangePage>()); builder: (_) => Scaffold(
body: Center(
case Routes.exchangeTemplate: child: Text(S.current.router_no_route(settings.name)))));
return CupertinoPageRoute<void>(
builder: (_) => getIt.get<ExchangeTemplatePage>());
case Routes.settings:
return MaterialPageRoute<void>(
builder: (_) => getIt.get<SettingsPage>());
case Routes.rescan:
return MaterialPageRoute<void>(builder: (_) => getIt.get<RescanPage>());
case Routes.faq:
return MaterialPageRoute<void>(builder: (_) => getIt.get<FaqPage>());
case Routes.changeLanguage:
return MaterialPageRoute<void>(
builder: (_) => getIt.get<LanguageListPage>());
default:
return MaterialPageRoute<void>(
builder: (_) => Scaffold(
body: Center(
child: Text(S.current.router_no_route(settings.name)))));
}
} }
} }

View file

@ -7,14 +7,14 @@ packages:
name: _fe_analyzer_shared name: _fe_analyzer_shared
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "6.0.0" version: "11.0.0"
analyzer: analyzer:
dependency: transitive dependency: transitive
description: description:
name: analyzer name: analyzer
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.39.14" version: "0.40.4"
archive: archive:
dependency: transitive dependency: transitive
description: description:
@ -42,7 +42,7 @@ packages:
name: async name: async
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.4.2" version: "2.5.0-nullsafety.1"
auto_size_text: auto_size_text:
dependency: "direct main" dependency: "direct main"
description: description:
@ -98,7 +98,7 @@ packages:
name: boolean_selector name: boolean_selector
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "2.1.0-nullsafety.1"
bs58check: bs58check:
dependency: transitive dependency: transitive
description: description:
@ -112,7 +112,7 @@ packages:
name: build name: build
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.3.0" version: "1.5.0"
build_config: build_config:
dependency: transitive dependency: transitive
description: description:
@ -133,21 +133,21 @@ packages:
name: build_resolvers name: build_resolvers
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.3.11" version: "1.4.1"
build_runner: build_runner:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: build_runner name: build_runner
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.10.1" version: "1.10.3"
build_runner_core: build_runner_core:
dependency: transitive dependency: transitive
description: description:
name: build_runner_core name: build_runner_core
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "6.0.1" version: "6.0.3"
built_collection: built_collection:
dependency: transitive dependency: transitive
description: description:
@ -168,14 +168,14 @@ packages:
name: characters name: characters
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.0" version: "1.1.0-nullsafety.3"
charcode: charcode:
dependency: transitive dependency: transitive
description: description:
name: charcode name: charcode
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.3" version: "1.2.0-nullsafety.1"
checked_yaml: checked_yaml:
dependency: transitive dependency: transitive
description: description:
@ -189,35 +189,35 @@ packages:
name: cli_util name: cli_util
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.4" version: "0.2.0"
clock: clock:
dependency: transitive dependency: transitive
description: description:
name: clock name: clock
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.1" version: "1.1.0-nullsafety.1"
code_builder: code_builder:
dependency: transitive dependency: transitive
description: description:
name: code_builder name: code_builder
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.4.1" version: "3.5.0"
collection: collection:
dependency: transitive dependency: transitive
description: description:
name: collection name: collection
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.14.13" version: "1.15.0-nullsafety.3"
connectivity: connectivity:
dependency: "direct main" dependency: "direct main"
description: description:
name: connectivity name: connectivity
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.9+3" version: "0.4.9+5"
connectivity_for_web: connectivity_for_web:
dependency: transitive dependency: transitive
description: description:
@ -253,13 +253,6 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.5" version: "2.1.5"
csslib:
dependency: transitive
description:
name: csslib
url: "https://pub.dartlang.org"
source: hosted
version: "0.16.2"
cupertino_icons: cupertino_icons:
dependency: "direct main" dependency: "direct main"
description: description:
@ -280,9 +273,9 @@ packages:
name: dart_style name: dart_style
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.3.6" version: "1.3.7"
dartx: dartx:
dependency: "direct overridden" dependency: transitive
description: description:
name: dartx name: dartx
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
@ -336,7 +329,7 @@ packages:
name: fake_async name: fake_async
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.0" version: "1.2.0-nullsafety.1"
ffi: ffi:
dependency: transitive dependency: transitive
description: description:
@ -463,7 +456,7 @@ packages:
name: hive name: hive
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.4.4" version: "1.4.4+1"
hive_flutter: hive_flutter:
dependency: "direct main" dependency: "direct main"
description: description:
@ -477,14 +470,7 @@ packages:
name: hive_generator name: hive_generator
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.7.2+1" version: "0.8.1"
html:
dependency: transitive
description:
name: html
url: "https://pub.dartlang.org"
source: hosted
version: "0.14.0+3"
http: http:
dependency: "direct main" dependency: "direct main"
description: description:
@ -547,14 +533,14 @@ packages:
name: keyboard_actions name: keyboard_actions
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.3.0+1" version: "3.3.1+1"
local_auth: local_auth:
dependency: "direct main" dependency: "direct main"
description: description:
name: local_auth name: local_auth
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.6.3+2" version: "0.6.3+3"
logging: logging:
dependency: transitive dependency: transitive
description: description:
@ -568,14 +554,14 @@ packages:
name: matcher name: matcher
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.12.8" version: "0.12.10-nullsafety.1"
meta: meta:
dependency: transitive dependency: transitive
description: description:
name: meta name: meta
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.8" version: "1.3.0-nullsafety.3"
mime: mime:
dependency: transitive dependency: transitive
description: description:
@ -589,14 +575,14 @@ packages:
name: mobx name: mobx
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.2.1+2" version: "1.2.1+3"
mobx_codegen: mobx_codegen:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: mobx_codegen name: mobx_codegen
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.0+2" version: "1.1.1+1"
node_interop: node_interop:
dependency: transitive dependency: transitive
description: description:
@ -638,7 +624,7 @@ packages:
name: path name: path
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.7.0" version: "1.8.0-nullsafety.1"
path_drawing: path_drawing:
dependency: transitive dependency: transitive
description: description:
@ -659,7 +645,7 @@ packages:
name: path_provider name: path_provider
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.6.18" version: "1.6.21"
path_provider_linux: path_provider_linux:
dependency: transitive dependency: transitive
description: description:
@ -694,14 +680,14 @@ packages:
name: pedantic name: pedantic
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.9.0" version: "1.9.2"
petitparser: petitparser:
dependency: transitive dependency: transitive
description: description:
name: petitparser name: petitparser
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.0.4" version: "3.1.0"
platform: platform:
dependency: transitive dependency: transitive
description: description:
@ -792,14 +778,14 @@ packages:
name: share name: share
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.6.5+2" version: "0.6.5+3"
shared_preferences: shared_preferences:
dependency: "direct main" dependency: "direct main"
description: description:
name: shared_preferences name: shared_preferences
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.5.12" version: "0.5.12+2"
shared_preferences_linux: shared_preferences_linux:
dependency: transitive dependency: transitive
description: description:
@ -874,21 +860,21 @@ packages:
name: source_span name: source_span
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.7.0" version: "1.8.0-nullsafety.2"
stack_trace: stack_trace:
dependency: transitive dependency: transitive
description: description:
name: stack_trace name: stack_trace
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.9.5" version: "1.10.0-nullsafety.1"
stream_channel: stream_channel:
dependency: transitive dependency: transitive
description: description:
name: stream_channel name: stream_channel
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "2.1.0-nullsafety.1"
stream_transform: stream_transform:
dependency: transitive dependency: transitive
description: description:
@ -902,21 +888,21 @@ packages:
name: string_scanner name: string_scanner
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.5" version: "1.1.0-nullsafety.1"
term_glyph: term_glyph:
dependency: transitive dependency: transitive
description: description:
name: term_glyph name: term_glyph
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.0" version: "1.2.0-nullsafety.1"
test_api: test_api:
dependency: transitive dependency: transitive
description: description:
name: test_api name: test_api
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.2.17" version: "0.2.19-nullsafety.2"
time: time:
dependency: transitive dependency: transitive
description: description:
@ -937,14 +923,14 @@ packages:
name: typed_data name: typed_data
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.2.0" version: "1.3.0-nullsafety.3"
url_launcher: url_launcher:
dependency: "direct main" dependency: "direct main"
description: description:
name: url_launcher name: url_launcher
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "5.7.2" version: "5.7.5"
url_launcher_linux: url_launcher_linux:
dependency: transitive dependency: transitive
description: description:
@ -993,7 +979,7 @@ packages:
name: vector_math name: vector_math
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.8" version: "2.1.0-nullsafety.3"
watcher: watcher:
dependency: transitive dependency: transitive
description: description:
@ -1021,7 +1007,7 @@ packages:
name: xdg_directories name: xdg_directories
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.0" version: "0.1.2"
xml: xml:
dependency: transitive dependency: transitive
description: description:
@ -1037,5 +1023,5 @@ packages:
source: hosted source: hosted
version: "2.2.1" version: "2.2.1"
sdks: sdks:
dart: ">=2.9.0-14.0.dev <3.0.0" dart: ">=2.10.0-110 <2.11.0"
flutter: ">=1.12.13+hotfix.5 <2.0.0" flutter: ">=1.12.13+hotfix.5 <2.0.0"

View file

@ -46,7 +46,7 @@ dependencies:
dio: 3.0.7 dio: 3.0.7
cw_monero: cw_monero:
path: ./cw_monero path: ./cw_monero
hive: ^1.4.2 hive: ^1.4.4+1
hive_flutter: ^0.3.1 hive_flutter: ^0.3.1
local_auth: ^0.6.1 local_auth: ^0.6.1
package_info: ^0.4.0+13 package_info: ^0.4.0+13
@ -70,17 +70,13 @@ dependencies:
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
build_runner: 1.10.1 build_runner: ^1.10.3
build_resolvers: ^1.3.10 build_resolvers: ^1.3.10
mobx_codegen: ^1.1.0+1 mobx_codegen: ^1.1.0+1
hive_generator: ^0.7.0+2 hive_generator: ^0.8.1
flutter_launcher_icons: ^0.7.4 flutter_launcher_icons: ^0.7.4
pedantic: ^1.8.0 pedantic: ^1.8.0
# Fix for hive https://github.com/hivedb/hive/issues/247#issuecomment-606838497
dependency_overrides:
dartx: ^0.5.0
flutter_icons: flutter_icons:
image_path: "assets/images/app_logo.png" image_path: "assets/images/app_logo.png"
android: true android: true