dart fix --apply --code=prefer_relative_imports

This commit is contained in:
julian 2024-05-22 18:37:06 -06:00
parent 39e4df156a
commit e01b778778
726 changed files with 7366 additions and 7353 deletions

View file

@ -1,5 +1,5 @@
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import 'wallets/crypto_currency/crypto_currency.dart';
import 'package:stackwallet/wallets/crypto_currency/intermediate/frost_currency.dart'; import 'wallets/crypto_currency/intermediate/frost_currency.dart';
part 'app_config.g.dart'; part 'app_config.g.dart';

View file

@ -10,31 +10,31 @@
import 'package:hive/hive.dart'; import 'package:hive/hive.dart';
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/app_config.dart';
import 'package:stackwallet/db/hive/db.dart';
import 'package:stackwallet/db/isar/main_db.dart';
import 'package:stackwallet/db/migrate_wallets_to_isar.dart';
import 'package:stackwallet/electrumx_rpc/electrumx_client.dart';
import 'package:stackwallet/models/contact.dart';
import 'package:stackwallet/models/exchange/change_now/exchange_transaction.dart';
import 'package:stackwallet/models/exchange/response_objects/trade.dart';
import 'package:stackwallet/models/isar/models/blockchain_data/address.dart';
import 'package:stackwallet/models/isar/models/contact_entry.dart'
as isar_contact;
import 'package:stackwallet/models/isar/models/isar_models.dart' as isar_models;
import 'package:stackwallet/models/models.dart';
import 'package:stackwallet/models/node_model.dart';
import 'package:stackwallet/services/mixins/wallet_db.dart';
import 'package:stackwallet/services/node_service.dart';
import 'package:stackwallet/services/wallets_service.dart';
import 'package:stackwallet/utilities/amount/amount.dart';
import 'package:stackwallet/utilities/constants.dart';
import 'package:stackwallet/utilities/flutter_secure_storage_interface.dart';
import 'package:stackwallet/utilities/logger.dart';
import 'package:stackwallet/utilities/prefs.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart';
import 'package:tuple/tuple.dart'; import 'package:tuple/tuple.dart';
import '../app_config.dart';
import '../electrumx_rpc/electrumx_client.dart';
import '../models/contact.dart';
import '../models/exchange/change_now/exchange_transaction.dart';
import '../models/exchange/response_objects/trade.dart';
import '../models/isar/models/blockchain_data/address.dart';
import '../models/isar/models/contact_entry.dart' as isar_contact;
import '../models/isar/models/isar_models.dart' as isar_models;
import '../models/models.dart';
import '../models/node_model.dart';
import '../services/mixins/wallet_db.dart';
import '../services/node_service.dart';
import '../services/wallets_service.dart';
import '../utilities/amount/amount.dart';
import '../utilities/constants.dart';
import '../utilities/flutter_secure_storage_interface.dart';
import '../utilities/logger.dart';
import '../utilities/prefs.dart';
import '../wallets/crypto_currency/crypto_currency.dart';
import 'hive/db.dart';
import 'isar/main_db.dart';
import 'migrate_wallets_to_isar.dart';
class DbVersionMigrator with WalletDB { class DbVersionMigrator with WalletDB {
Future<void> migrate( Future<void> migrate(
int fromVersion, { int fromVersion, {

View file

@ -13,14 +13,14 @@ import 'dart:isolate';
import 'package:cw_core/wallet_info.dart' as xmr; import 'package:cw_core/wallet_info.dart' as xmr;
import 'package:hive/hive.dart'; import 'package:hive/hive.dart';
import 'package:mutex/mutex.dart'; import 'package:mutex/mutex.dart';
import 'package:stackwallet/app_config.dart'; import '../../app_config.dart';
import 'package:stackwallet/models/exchange/response_objects/trade.dart'; import '../../models/exchange/response_objects/trade.dart';
import 'package:stackwallet/models/node_model.dart'; import '../../models/node_model.dart';
import 'package:stackwallet/models/notification_model.dart'; import '../../models/notification_model.dart';
import 'package:stackwallet/models/trade_wallet_lookup.dart'; import '../../models/trade_wallet_lookup.dart';
import 'package:stackwallet/services/wallets_service.dart'; import '../../services/wallets_service.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../../utilities/logger.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../../wallets/crypto_currency/crypto_currency.dart';
class DB { class DB {
// legacy (required for migrations) // legacy (required for migrations)

View file

@ -11,21 +11,21 @@
import 'package:decimal/decimal.dart'; import 'package:decimal/decimal.dart';
import 'package:flutter_native_splash/cli_commands.dart'; import 'package:flutter_native_splash/cli_commands.dart';
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/exceptions/main_db/main_db_exception.dart'; import '../../exceptions/main_db/main_db_exception.dart';
import 'package:stackwallet/models/isar/models/block_explorer.dart'; import '../../models/isar/models/block_explorer.dart';
import 'package:stackwallet/models/isar/models/blockchain_data/v2/transaction_v2.dart'; import '../../models/isar/models/blockchain_data/v2/transaction_v2.dart';
import 'package:stackwallet/models/isar/models/contact_entry.dart'; import '../../models/isar/models/contact_entry.dart';
import 'package:stackwallet/models/isar/models/isar_models.dart'; import '../../models/isar/models/isar_models.dart';
import 'package:stackwallet/models/isar/ordinal.dart'; import '../../models/isar/ordinal.dart';
import 'package:stackwallet/models/isar/stack_theme.dart'; import '../../models/isar/stack_theme.dart';
import 'package:stackwallet/utilities/amount/amount.dart'; import '../../utilities/amount/amount.dart';
import 'package:stackwallet/utilities/stack_file_system.dart'; import '../../utilities/stack_file_system.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../../wallets/crypto_currency/crypto_currency.dart';
import 'package:stackwallet/wallets/isar/models/frost_wallet_info.dart'; import '../../wallets/isar/models/frost_wallet_info.dart';
import 'package:stackwallet/wallets/isar/models/spark_coin.dart'; import '../../wallets/isar/models/spark_coin.dart';
import 'package:stackwallet/wallets/isar/models/token_wallet_info.dart'; import '../../wallets/isar/models/token_wallet_info.dart';
import 'package:stackwallet/wallets/isar/models/wallet_info.dart'; import '../../wallets/isar/models/wallet_info.dart';
import 'package:stackwallet/wallets/isar/models/wallet_info_meta.dart'; import '../../wallets/isar/models/wallet_info_meta.dart';
import 'package:tuple/tuple.dart'; import 'package:tuple/tuple.dart';
part '../queries/queries.dart'; part '../queries/queries.dart';

View file

@ -2,17 +2,17 @@ import 'dart:convert';
import 'package:hive_flutter/hive_flutter.dart'; import 'package:hive_flutter/hive_flutter.dart';
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/app_config.dart'; import '../app_config.dart';
import 'package:stackwallet/db/hive/db.dart'; import 'hive/db.dart';
import 'package:stackwallet/db/isar/main_db.dart'; import 'isar/main_db.dart';
import 'package:stackwallet/models/isar/models/blockchain_data/v2/transaction_v2.dart'; import '../models/isar/models/blockchain_data/v2/transaction_v2.dart';
import 'package:stackwallet/models/isar/models/isar_models.dart'; import '../models/isar/models/isar_models.dart';
import 'package:stackwallet/utilities/flutter_secure_storage_interface.dart'; import '../utilities/flutter_secure_storage_interface.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../wallets/crypto_currency/crypto_currency.dart';
import 'package:stackwallet/wallets/isar/models/token_wallet_info.dart'; import '../wallets/isar/models/token_wallet_info.dart';
import 'package:stackwallet/wallets/isar/models/wallet_info.dart'; import '../wallets/isar/models/wallet_info.dart';
import 'package:stackwallet/wallets/isar/models/wallet_info_meta.dart'; import '../wallets/isar/models/wallet_info_meta.dart';
import 'package:stackwallet/wallets/wallet/supporting/epiccash_wallet_info_extension.dart'; import '../wallets/wallet/supporting/epiccash_wallet_info_extension.dart';
Future<void> migrateWalletsToIsar({ Future<void> migrateWalletsToIsar({
required SecureStorageInterface secureStore, required SecureStorageInterface secureStore,

View file

@ -10,9 +10,9 @@
import 'dart:convert'; import 'dart:convert';
import 'package:stackwallet/utilities/amount/amount.dart'; import '../../utilities/amount/amount.dart';
import 'package:stackwallet/wallets/crypto_currency/coins/ethereum.dart'; import '../../wallets/crypto_currency/coins/ethereum.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../../wallets/crypto_currency/crypto_currency.dart';
class EthTokenTxExtraDTO { class EthTokenTxExtraDTO {
EthTokenTxExtraDTO({ EthTokenTxExtraDTO({

View file

@ -10,9 +10,9 @@
import 'dart:convert'; import 'dart:convert';
import 'package:stackwallet/utilities/amount/amount.dart'; import '../../utilities/amount/amount.dart';
import 'package:stackwallet/wallets/crypto_currency/coins/ethereum.dart'; import '../../wallets/crypto_currency/coins/ethereum.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../../wallets/crypto_currency/crypto_currency.dart';
class EthTxDTO { class EthTxDTO {
EthTxDTO({ EthTxDTO({

View file

@ -1,5 +1,5 @@
import 'package:stackwallet/dto/ordinals/litescribe_response.dart'; import 'litescribe_response.dart';
import 'package:stackwallet/dto/ordinals/inscription_data.dart'; import 'inscription_data.dart';
class AddressInscriptionResponse extends LitescribeResponse<AddressInscriptionResponse> { class AddressInscriptionResponse extends LitescribeResponse<AddressInscriptionResponse> {
final int status; final int status;

View file

@ -11,10 +11,10 @@
import 'dart:convert'; import 'dart:convert';
import 'dart:math'; import 'dart:math';
import 'package:stackwallet/db/hive/db.dart'; import '../db/hive/db.dart';
import 'package:stackwallet/electrumx_rpc/electrumx_client.dart'; import 'electrumx_client.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../utilities/logger.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../wallets/crypto_currency/crypto_currency.dart';
import 'package:string_validator/string_validator.dart'; import 'package:string_validator/string_validator.dart';
class CachedElectrumXClient { class CachedElectrumXClient {

View file

@ -1,7 +1,7 @@
import 'dart:async'; import 'dart:async';
import 'package:electrum_adapter/electrum_adapter.dart'; import 'package:electrum_adapter/electrum_adapter.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../wallets/crypto_currency/crypto_currency.dart';
class ClientManager { class ClientManager {
ClientManager._(); ClientManager._();

View file

@ -20,17 +20,17 @@ import 'package:event_bus/event_bus.dart';
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'package:flutter_libsparkmobile/flutter_libsparkmobile.dart'; import 'package:flutter_libsparkmobile/flutter_libsparkmobile.dart';
import 'package:mutex/mutex.dart'; import 'package:mutex/mutex.dart';
import 'package:stackwallet/electrumx_rpc/client_manager.dart'; import 'client_manager.dart';
import 'package:stackwallet/exceptions/electrumx/no_such_transaction.dart'; import '../exceptions/electrumx/no_such_transaction.dart';
import 'package:stackwallet/services/event_bus/events/global/tor_connection_status_changed_event.dart'; import '../services/event_bus/events/global/tor_connection_status_changed_event.dart';
import 'package:stackwallet/services/event_bus/events/global/tor_status_changed_event.dart'; import '../services/event_bus/events/global/tor_status_changed_event.dart';
import 'package:stackwallet/services/event_bus/global_event_bus.dart'; import '../services/event_bus/global_event_bus.dart';
import 'package:stackwallet/services/tor_service.dart'; import '../services/tor_service.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../utilities/logger.dart';
import 'package:stackwallet/utilities/prefs.dart'; import '../utilities/prefs.dart';
import 'package:stackwallet/wallets/crypto_currency/coins/dogecoin.dart'; import '../wallets/crypto_currency/coins/dogecoin.dart';
import 'package:stackwallet/wallets/crypto_currency/coins/firo.dart'; import '../wallets/crypto_currency/coins/firo.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../wallets/crypto_currency/crypto_currency.dart';
import 'package:stream_channel/stream_channel.dart'; import 'package:stream_channel/stream_channel.dart';
class WifiOnlyException implements Exception {} class WifiOnlyException implements Exception {}

View file

@ -8,7 +8,7 @@
* *
*/ */
import 'package:stackwallet/exceptions/sw_exception.dart'; import '../sw_exception.dart';
class AddressException extends SWException { class AddressException extends SWException {
AddressException(super.message); AddressException(super.message);

View file

@ -8,7 +8,7 @@
* *
*/ */
import 'package:stackwallet/exceptions/sw_exception.dart'; import '../sw_exception.dart';
class NoSuchTransactionException extends SWException { class NoSuchTransactionException extends SWException {
final String txid; final String txid;

View file

@ -8,7 +8,7 @@
* *
*/ */
import 'package:stackwallet/exceptions/sw_exception.dart'; import '../sw_exception.dart';
enum ExchangeExceptionType { generic, serializeResponseError, orderNotFound } enum ExchangeExceptionType { generic, serializeResponseError, orderNotFound }

View file

@ -8,7 +8,7 @@
* *
*/ */
import 'package:stackwallet/exceptions/exchange/exchange_exception.dart'; import '../exchange_exception.dart';
class MBException extends ExchangeException { class MBException extends ExchangeException {
MBException(super.message, super.type); MBException(super.message, super.type);

View file

@ -8,7 +8,7 @@
* *
*/ */
import 'package:stackwallet/exceptions/exchange/exchange_exception.dart'; import 'exchange_exception.dart';
class PairUnavailableException extends ExchangeException { class PairUnavailableException extends ExchangeException {
PairUnavailableException(super.message, super.type); PairUnavailableException(super.message, super.type);

View file

@ -8,7 +8,7 @@
* *
*/ */
import 'package:stackwallet/exceptions/exchange/exchange_exception.dart'; import 'exchange_exception.dart';
class UnsupportedCurrencyException extends ExchangeException { class UnsupportedCurrencyException extends ExchangeException {
UnsupportedCurrencyException(super.message, super.type, this.currency); UnsupportedCurrencyException(super.message, super.type, this.currency);

View file

@ -8,7 +8,7 @@
* *
*/ */
import 'package:stackwallet/exceptions/sw_exception.dart'; import '../sw_exception.dart';
class JsonRpcException implements SWException { class JsonRpcException implements SWException {
JsonRpcException(this.message); JsonRpcException(this.message);

View file

@ -8,7 +8,7 @@
* *
*/ */
import 'package:stackwallet/exceptions/sw_exception.dart'; import '../sw_exception.dart';
class MainDBException extends SWException { class MainDBException extends SWException {
MainDBException(super.message, this.originalError); MainDBException(super.message, this.originalError);

View file

@ -8,7 +8,7 @@
* *
*/ */
import 'package:stackwallet/exceptions/sw_exception.dart'; import '../sw_exception.dart';
class InsufficientBalanceException extends SWException { class InsufficientBalanceException extends SWException {
InsufficientBalanceException(super.message); InsufficientBalanceException(super.message);

View file

@ -8,7 +8,7 @@
* *
*/ */
import 'package:stackwallet/exceptions/sw_exception.dart'; import '../sw_exception.dart';
class PaynymSendException extends SWException { class PaynymSendException extends SWException {
PaynymSendException(super.message); PaynymSendException(super.message);

View file

@ -1,28 +1,28 @@
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/widgets.dart'; import 'package:flutter/widgets.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/new/steps/frost_create_step_1a.dart'; import 'pages/add_wallet_views/frost_ms/new/steps/frost_create_step_1a.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/new/steps/frost_create_step_1b.dart'; import 'pages/add_wallet_views/frost_ms/new/steps/frost_create_step_1b.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/new/steps/frost_create_step_2.dart'; import 'pages/add_wallet_views/frost_ms/new/steps/frost_create_step_2.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/new/steps/frost_create_step_3.dart'; import 'pages/add_wallet_views/frost_ms/new/steps/frost_create_step_3.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/new/steps/frost_create_step_4.dart'; import 'pages/add_wallet_views/frost_ms/new/steps/frost_create_step_4.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/new/steps/frost_create_step_5.dart'; import 'pages/add_wallet_views/frost_ms/new/steps/frost_create_step_5.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_1a.dart'; import 'pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_1a.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_1b.dart'; import 'pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_1b.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_1c.dart'; import 'pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_1c.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_2abd.dart'; import 'pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_2abd.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_2c.dart'; import 'pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_2c.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_3abd.dart'; import 'pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_3abd.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_3c.dart'; import 'pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_3c.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_4.dart'; import 'pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_4.dart';
import 'package:stackwallet/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_5.dart'; import 'pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_5.dart';
import 'package:stackwallet/pages/send_view/frost_ms/send_steps/frost_send_step_1a.dart'; import 'pages/send_view/frost_ms/send_steps/frost_send_step_1a.dart';
import 'package:stackwallet/pages/send_view/frost_ms/send_steps/frost_send_step_1b.dart'; import 'pages/send_view/frost_ms/send_steps/frost_send_step_1b.dart';
import 'package:stackwallet/pages/send_view/frost_ms/send_steps/frost_send_step_2.dart'; import 'pages/send_view/frost_ms/send_steps/frost_send_step_2.dart';
import 'package:stackwallet/pages/send_view/frost_ms/send_steps/frost_send_step_3.dart'; import 'pages/send_view/frost_ms/send_steps/frost_send_step_3.dart';
import 'package:stackwallet/pages/send_view/frost_ms/send_steps/frost_send_step_4.dart'; import 'pages/send_view/frost_ms/send_steps/frost_send_step_4.dart';
import 'package:stackwallet/route_generator.dart'; import 'route_generator.dart';
import 'package:stackwallet/wallets/crypto_currency/intermediate/frost_currency.dart'; import 'wallets/crypto_currency/intermediate/frost_currency.dart';
typedef FrostStepRoute = ({String routeName, String title}); typedef FrostStepRoute = ({String routeName, String title});

View file

@ -28,53 +28,53 @@ import 'package:hive_flutter/hive_flutter.dart';
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:keyboard_dismisser/keyboard_dismisser.dart'; import 'package:keyboard_dismisser/keyboard_dismisser.dart';
import 'package:path_provider/path_provider.dart'; import 'package:path_provider/path_provider.dart';
import 'package:stackwallet/app_config.dart'; import 'app_config.dart';
import 'package:stackwallet/db/db_version_migration.dart'; import 'db/db_version_migration.dart';
import 'package:stackwallet/db/hive/db.dart'; import 'db/hive/db.dart';
import 'package:stackwallet/db/isar/main_db.dart'; import 'db/isar/main_db.dart';
import 'package:stackwallet/models/exchange/change_now/exchange_transaction.dart'; import 'models/exchange/change_now/exchange_transaction.dart';
import 'package:stackwallet/models/exchange/change_now/exchange_transaction_status.dart'; import 'models/exchange/change_now/exchange_transaction_status.dart';
import 'package:stackwallet/models/exchange/response_objects/trade.dart'; import 'models/exchange/response_objects/trade.dart';
import 'package:stackwallet/models/isar/models/isar_models.dart'; import 'models/isar/models/isar_models.dart';
import 'package:stackwallet/models/models.dart'; import 'models/models.dart';
import 'package:stackwallet/models/node_model.dart'; import 'models/node_model.dart';
import 'package:stackwallet/models/notification_model.dart'; import 'models/notification_model.dart';
import 'package:stackwallet/models/trade_wallet_lookup.dart'; import 'models/trade_wallet_lookup.dart';
import 'package:stackwallet/pages/home_view/home_view.dart'; import 'pages/home_view/home_view.dart';
import 'package:stackwallet/pages/intro_view.dart'; import 'pages/intro_view.dart';
import 'package:stackwallet/pages/loading_view.dart'; import 'pages/loading_view.dart';
import 'package:stackwallet/pages/pinpad_views/create_pin_view.dart'; import 'pages/pinpad_views/create_pin_view.dart';
import 'package:stackwallet/pages/pinpad_views/lock_screen_view.dart'; import 'pages/pinpad_views/lock_screen_view.dart';
import 'package:stackwallet/pages/settings_views/global_settings_view/stack_backup_views/restore_from_encrypted_string_view.dart'; import 'pages/settings_views/global_settings_view/stack_backup_views/restore_from_encrypted_string_view.dart';
import 'package:stackwallet/pages_desktop_specific/password/desktop_login_view.dart'; import 'pages_desktop_specific/password/desktop_login_view.dart';
import 'package:stackwallet/providers/db/main_db_provider.dart'; import 'providers/db/main_db_provider.dart';
import 'package:stackwallet/providers/desktop/storage_crypto_handler_provider.dart'; import 'providers/desktop/storage_crypto_handler_provider.dart';
import 'package:stackwallet/providers/global/auto_swb_service_provider.dart'; import 'providers/global/auto_swb_service_provider.dart';
import 'package:stackwallet/providers/global/base_currencies_provider.dart'; import 'providers/global/base_currencies_provider.dart';
// import 'package:stackwallet/providers/global/has_authenticated_start_state_provider.dart'; // import 'package:stackwallet/providers/global/has_authenticated_start_state_provider.dart';
import 'package:stackwallet/providers/global/trades_service_provider.dart'; import 'providers/global/trades_service_provider.dart';
import 'package:stackwallet/providers/providers.dart'; import 'providers/providers.dart';
import 'package:stackwallet/route_generator.dart'; import 'route_generator.dart';
// import 'package:stackwallet/services/buy/buy_data_loading_service.dart'; // import 'package:stackwallet/services/buy/buy_data_loading_service.dart';
import 'package:stackwallet/services/debug_service.dart'; import 'services/debug_service.dart';
import 'package:stackwallet/services/exchange/exchange_data_loading_service.dart'; import 'services/exchange/exchange_data_loading_service.dart';
import 'package:stackwallet/services/locale_service.dart'; import 'services/locale_service.dart';
import 'package:stackwallet/services/node_service.dart'; import 'services/node_service.dart';
import 'package:stackwallet/services/notifications_api.dart'; import 'services/notifications_api.dart';
import 'package:stackwallet/services/notifications_service.dart'; import 'services/notifications_service.dart';
import 'package:stackwallet/services/tor_service.dart'; import 'services/tor_service.dart';
import 'package:stackwallet/services/trade_service.dart'; import 'services/trade_service.dart';
import 'package:stackwallet/themes/theme_providers.dart'; import 'themes/theme_providers.dart';
import 'package:stackwallet/themes/theme_service.dart'; import 'themes/theme_service.dart';
import 'package:stackwallet/utilities/constants.dart'; import 'utilities/constants.dart';
import 'package:stackwallet/utilities/enums/backup_frequency_type.dart'; import 'utilities/enums/backup_frequency_type.dart';
import 'package:stackwallet/utilities/flutter_secure_storage_interface.dart'; import 'utilities/flutter_secure_storage_interface.dart';
import 'package:stackwallet/utilities/logger.dart'; import 'utilities/logger.dart';
import 'package:stackwallet/utilities/prefs.dart'; import 'utilities/prefs.dart';
import 'package:stackwallet/utilities/stack_file_system.dart'; import 'utilities/stack_file_system.dart';
import 'package:stackwallet/utilities/util.dart'; import 'utilities/util.dart';
import 'package:stackwallet/wallets/isar/providers/all_wallets_info_provider.dart'; import 'wallets/isar/providers/all_wallets_info_provider.dart';
import 'package:stackwallet/widgets/crypto_notifications.dart'; import 'widgets/crypto_notifications.dart';
import 'package:window_size/window_size.dart'; import 'package:window_size/window_size.dart';
final openedFromSWBFileStringStateProvider = final openedFromSWBFileStringStateProvider =

View file

@ -9,7 +9,7 @@
*/ */
import 'package:equatable/equatable.dart'; import 'package:equatable/equatable.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../../wallets/crypto_currency/crypto_currency.dart';
abstract class AddWalletListEntity extends Equatable { abstract class AddWalletListEntity extends Equatable {
CryptoCurrency get cryptoCurrency; CryptoCurrency get cryptoCurrency;

View file

@ -8,8 +8,8 @@
* *
*/ */
import 'package:stackwallet/models/add_wallet_list_entity/add_wallet_list_entity.dart'; import '../add_wallet_list_entity.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../../../wallets/crypto_currency/crypto_currency.dart';
class CoinEntity extends AddWalletListEntity { class CoinEntity extends AddWalletListEntity {
CoinEntity(this._coin); CoinEntity(this._coin);

View file

@ -8,10 +8,10 @@
* *
*/ */
import 'package:stackwallet/models/add_wallet_list_entity/add_wallet_list_entity.dart'; import '../add_wallet_list_entity.dart';
import 'package:stackwallet/models/isar/models/ethereum/eth_contract.dart'; import '../../isar/models/ethereum/eth_contract.dart';
import 'package:stackwallet/wallets/crypto_currency/coins/ethereum.dart'; import '../../../wallets/crypto_currency/coins/ethereum.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../../../wallets/crypto_currency/crypto_currency.dart';
class EthTokenEntity extends AddWalletListEntity { class EthTokenEntity extends AddWalletListEntity {
EthTokenEntity(this.token); EthTokenEntity(this.token);

View file

@ -9,7 +9,7 @@
*/ */
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../wallets/crypto_currency/crypto_currency.dart';
class AddressBookFilter extends ChangeNotifier { class AddressBookFilter extends ChangeNotifier {
AddressBookFilter(Set<CryptoCurrency> coins) { AddressBookFilter(Set<CryptoCurrency> coins) {

View file

@ -10,8 +10,8 @@
import 'dart:convert'; import 'dart:convert';
import 'package:stackwallet/utilities/amount/amount.dart'; import '../utilities/amount/amount.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../wallets/crypto_currency/crypto_currency.dart';
class Balance { class Balance {
final Amount total; final Amount total;

View file

@ -10,7 +10,7 @@
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:stackwallet/services/buy/buy.dart'; import '../../services/buy/buy.dart';
class BuyFormState extends ChangeNotifier { class BuyFormState extends ChangeNotifier {
Buy? _buy; Buy? _buy;

View file

@ -8,7 +8,7 @@
* *
*/ */
import 'package:stackwallet/models/buy/response_objects/quote.dart'; import 'quote.dart';
class SimplexOrder { class SimplexOrder {
final SimplexQuote quote; final SimplexQuote quote;

View file

@ -9,8 +9,8 @@
*/ */
import 'package:decimal/decimal.dart'; import 'package:decimal/decimal.dart';
import 'package:stackwallet/models/buy/response_objects/crypto.dart'; import 'crypto.dart';
import 'package:stackwallet/models/buy/response_objects/fiat.dart'; import 'fiat.dart';
class SimplexQuote { class SimplexQuote {
final Crypto crypto; final Crypto crypto;

View file

@ -9,10 +9,10 @@
*/ */
import 'package:decimal/decimal.dart'; import 'package:decimal/decimal.dart';
import 'package:stackwallet/models/buy/response_objects/crypto.dart'; import '../response_objects/crypto.dart';
import 'package:stackwallet/models/buy/response_objects/fiat.dart'; import '../response_objects/fiat.dart';
import 'package:stackwallet/models/buy/response_objects/order.dart'; import '../response_objects/order.dart';
import 'package:stackwallet/models/buy/response_objects/quote.dart'; import '../response_objects/quote.dart';
class Simplex { class Simplex {
List<Crypto> supportedCryptos = []; List<Crypto> supportedCryptos = [];

View file

@ -10,7 +10,7 @@
import 'dart:convert'; import 'dart:convert';
import 'package:stackwallet/models/contact_address_entry.dart'; import 'contact_address_entry.dart';
import 'package:uuid/uuid.dart'; import 'package:uuid/uuid.dart';
@Deprecated("Use lib/models/isar/models/contact_entry.dart instead") @Deprecated("Use lib/models/isar/models/contact_entry.dart instead")

View file

@ -10,8 +10,8 @@
import 'dart:convert'; import 'dart:convert';
import 'package:stackwallet/app_config.dart'; import '../app_config.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../wallets/crypto_currency/crypto_currency.dart';
@Deprecated("Use lib/models/isar/models/contact_entry.dart instead") @Deprecated("Use lib/models/isar/models/contact_entry.dart instead")
class ContactAddressEntry { class ContactAddressEntry {

View file

@ -9,8 +9,8 @@
*/ */
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:stackwallet/models/isar/models/contact_entry.dart'; import 'isar/models/contact_entry.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../wallets/crypto_currency/crypto_currency.dart';
class AddressEntryData extends ChangeNotifier { class AddressEntryData extends ChangeNotifier {
late int id; late int id;

View file

@ -11,7 +11,7 @@
import 'dart:convert'; import 'dart:convert';
import 'package:hive/hive.dart'; import 'package:hive/hive.dart';
import 'package:stackwallet/models/epicbox_server_model.dart'; import 'epicbox_server_model.dart';
part 'type_adaptors/epicbox_config_model.g.dart'; part 'type_adaptors/epicbox_config_model.g.dart';

View file

@ -9,7 +9,7 @@
*/ */
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'package:stackwallet/models/exchange/aggregate_currency.dart'; import 'aggregate_currency.dart';
class ActivePair extends ChangeNotifier { class ActivePair extends ChangeNotifier {
AggregateCurrency? _send; AggregateCurrency? _send;

View file

@ -8,8 +8,8 @@
* *
*/ */
import 'package:stackwallet/models/isar/exchange_cache/currency.dart'; import '../isar/exchange_cache/currency.dart';
import 'package:stackwallet/models/isar/exchange_cache/pair.dart'; import '../isar/exchange_cache/pair.dart';
import 'package:tuple/tuple.dart'; import 'package:tuple/tuple.dart';
class AggregateCurrency { class AggregateCurrency {

View file

@ -9,7 +9,7 @@
*/ */
import 'package:decimal/decimal.dart'; import 'package:decimal/decimal.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../../../utilities/logger.dart';
enum CNEstimateType { direct, reverse } enum CNEstimateType { direct, reverse }

View file

@ -9,7 +9,7 @@
*/ */
import 'package:decimal/decimal.dart'; import 'package:decimal/decimal.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../../../utilities/logger.dart';
class EstimatedExchangeAmount { class EstimatedExchangeAmount {
/// Estimated exchange amount /// Estimated exchange amount

View file

@ -10,7 +10,7 @@
import 'package:decimal/decimal.dart'; import 'package:decimal/decimal.dart';
import 'package:hive/hive.dart'; import 'package:hive/hive.dart';
import 'package:stackwallet/models/exchange/change_now/exchange_transaction_status.dart'; import 'exchange_transaction_status.dart';
import 'package:uuid/uuid.dart'; import 'package:uuid/uuid.dart';
part '../../type_adaptors/exchange_transaction.g.dart'; part '../../type_adaptors/exchange_transaction.g.dart';

View file

@ -9,7 +9,7 @@
*/ */
import 'package:hive/hive.dart'; import 'package:hive/hive.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../../../utilities/logger.dart';
part '../../type_adaptors/exchange_transaction_status.g.dart'; part '../../type_adaptors/exchange_transaction_status.g.dart';

View file

@ -10,9 +10,9 @@
import 'package:decimal/decimal.dart'; import 'package:decimal/decimal.dart';
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'package:stackwallet/models/exchange/response_objects/estimate.dart'; import 'response_objects/estimate.dart';
import 'package:stackwallet/models/exchange/response_objects/trade.dart'; import 'response_objects/trade.dart';
import 'package:stackwallet/utilities/enums/exchange_rate_type_enum.dart'; import '../../utilities/enums/exchange_rate_type_enum.dart';
class IncompleteExchangeModel extends ChangeNotifier { class IncompleteExchangeModel extends ChangeNotifier {
final String sendTicker; final String sendTicker;

View file

@ -9,7 +9,7 @@
*/ */
import 'package:decimal/decimal.dart'; import 'package:decimal/decimal.dart';
import 'package:stackwallet/models/exchange/majestic_bank/mb_object.dart'; import 'mb_object.dart';
class MBLimit extends MBObject { class MBLimit extends MBObject {
MBLimit({ MBLimit({

View file

@ -9,7 +9,7 @@
*/ */
import 'package:decimal/decimal.dart'; import 'package:decimal/decimal.dart';
import 'package:stackwallet/models/exchange/majestic_bank/mb_object.dart'; import 'mb_object.dart';
enum MBOrderType { enum MBOrderType {
fixed, fixed,

View file

@ -9,7 +9,7 @@
*/ */
import 'package:decimal/decimal.dart'; import 'package:decimal/decimal.dart';
import 'package:stackwallet/models/exchange/majestic_bank/mb_object.dart'; import 'mb_object.dart';
class MBOrderCalculation extends MBObject { class MBOrderCalculation extends MBObject {
MBOrderCalculation({ MBOrderCalculation({

View file

@ -9,7 +9,7 @@
*/ */
import 'package:decimal/decimal.dart'; import 'package:decimal/decimal.dart';
import 'package:stackwallet/models/exchange/majestic_bank/mb_object.dart'; import 'mb_object.dart';
class MBOrderStatus extends MBObject { class MBOrderStatus extends MBObject {
MBOrderStatus({ MBOrderStatus({

View file

@ -9,7 +9,7 @@
*/ */
import 'package:decimal/decimal.dart'; import 'package:decimal/decimal.dart';
import 'package:stackwallet/models/exchange/majestic_bank/mb_object.dart'; import 'mb_object.dart';
class MBRate extends MBObject { class MBRate extends MBObject {
MBRate({required this.fromCurrency, required this.toCurrency, required this.rate,}); MBRate({required this.fromCurrency, required this.toCurrency, required this.rate,});

View file

@ -9,7 +9,7 @@
*/ */
import 'package:decimal/decimal.dart'; import 'package:decimal/decimal.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../../../utilities/logger.dart';
class Estimate { class Estimate {
final Decimal estimatedAmount; final Decimal estimatedAmount;

View file

@ -9,7 +9,7 @@
*/ */
import 'package:decimal/decimal.dart'; import 'package:decimal/decimal.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../../../utilities/logger.dart';
class FixedRateMarket { class FixedRateMarket {
/// Currency ticker /// Currency ticker

View file

@ -9,8 +9,8 @@
*/ */
import 'package:hive/hive.dart'; import 'package:hive/hive.dart';
import 'package:stackwallet/models/exchange/change_now/exchange_transaction.dart'; import '../change_now/exchange_transaction.dart';
import 'package:stackwallet/services/exchange/change_now/change_now_exchange.dart'; import '../../../services/exchange/change_now/change_now_exchange.dart';
part 'trade.g.dart'; part 'trade.g.dart';

View file

@ -8,7 +8,7 @@
* *
*/ */
import 'package:stackwallet/utilities/logger.dart'; import '../../../utilities/logger.dart';
class SPCurrency { class SPCurrency {
/// currency name /// currency name

View file

@ -1,5 +1,5 @@
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:stackwallet/pages_desktop_specific/cashfusion/sub_widgets/fusion_dialog.dart'; import '../pages_desktop_specific/cashfusion/sub_widgets/fusion_dialog.dart';
class FusionProgressUIState extends ChangeNotifier { class FusionProgressUIState extends ChangeNotifier {
/// Whether we are able to connect to the server. /// Whether we are able to connect to the server.

View file

@ -9,8 +9,8 @@
*/ */
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/app_config.dart'; import '../../../app_config.dart';
import 'package:stackwallet/models/isar/exchange_cache/pair.dart'; import 'pair.dart';
part 'currency.g.dart'; part 'currency.g.dart';

View file

@ -9,8 +9,8 @@
*/ */
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/app_config.dart'; import '../../../app_config.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../../../wallets/crypto_currency/crypto_currency.dart';
part 'block_explorer.g.dart'; part 'block_explorer.g.dart';

View file

@ -11,9 +11,9 @@
import 'dart:convert'; import 'dart:convert';
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/exceptions/address/address_exception.dart'; import '../../../../exceptions/address/address_exception.dart';
import 'package:stackwallet/models/isar/models/blockchain_data/crypto_currency_address.dart'; import 'crypto_currency_address.dart';
import 'package:stackwallet/models/isar/models/blockchain_data/transaction.dart'; import 'transaction.dart';
part 'address.g.dart'; part 'address.g.dart';

View file

@ -12,10 +12,10 @@ import 'dart:convert';
import 'dart:math'; import 'dart:math';
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/models/isar/models/blockchain_data/address.dart'; import 'address.dart';
import 'package:stackwallet/models/isar/models/blockchain_data/input.dart'; import 'input.dart';
import 'package:stackwallet/models/isar/models/blockchain_data/output.dart'; import 'output.dart';
import 'package:stackwallet/utilities/amount/amount.dart'; import '../../../../utilities/amount/amount.dart';
import 'package:tuple/tuple.dart'; import 'package:tuple/tuple.dart';
part 'transaction.g.dart'; part 'transaction.g.dart';

View file

@ -2,12 +2,12 @@ import 'dart:convert';
import 'dart:math'; import 'dart:math';
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/models/isar/models/blockchain_data/transaction.dart'; import '../transaction.dart';
import 'package:stackwallet/models/isar/models/blockchain_data/v2/input_v2.dart'; import 'input_v2.dart';
import 'package:stackwallet/models/isar/models/blockchain_data/v2/output_v2.dart'; import 'output_v2.dart';
import 'package:stackwallet/utilities/amount/amount.dart'; import '../../../../../utilities/amount/amount.dart';
import 'package:stackwallet/utilities/extensions/extensions.dart'; import '../../../../../utilities/extensions/extensions.dart';
import 'package:stackwallet/wallets/wallet/wallet_mixin_interfaces/spark_interface.dart'; import '../../../../../wallets/wallet/wallet_mixin_interfaces/spark_interface.dart';
part 'transaction_v2.g.dart'; part 'transaction_v2.g.dart';

View file

@ -9,8 +9,8 @@
*/ */
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/app_config.dart'; import '../../../app_config.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../../../wallets/crypto_currency/crypto_currency.dart';
part 'contact_entry.g.dart'; part 'contact_entry.g.dart';

View file

@ -9,7 +9,7 @@
*/ */
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/models/isar/models/contract.dart'; import '../contract.dart';
part 'eth_contract.g.dart'; part 'eth_contract.g.dart';

View file

@ -10,7 +10,7 @@
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
// import 'package:stackwallet/models/isar/type_converters/log_level_converter.dart'; // import 'package:stackwallet/models/isar/type_converters/log_level_converter.dart';
import 'package:stackwallet/utilities/enums/log_level_enum.dart'; import '../../../utilities/enums/log_level_enum.dart';
part 'log.g.dart'; part 'log.g.dart';

View file

@ -1,7 +1,7 @@
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/db/isar/main_db.dart'; import '../../db/isar/main_db.dart';
import 'package:stackwallet/dto/ordinals/inscription_data.dart'; import '../../dto/ordinals/inscription_data.dart';
import 'package:stackwallet/models/isar/models/isar_models.dart'; import 'models/isar_models.dart';
part 'ordinal.g.dart'; part 'ordinal.g.dart';

View file

@ -13,12 +13,12 @@ import 'dart:io';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/app_config.dart'; import '../../app_config.dart';
import 'package:stackwallet/utilities/extensions/impl/box_shadow.dart'; import '../../utilities/extensions/impl/box_shadow.dart';
import 'package:stackwallet/utilities/extensions/impl/gradient.dart'; import '../../utilities/extensions/impl/gradient.dart';
import 'package:stackwallet/utilities/extensions/impl/string.dart'; import '../../utilities/extensions/impl/string.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../../utilities/logger.dart';
import 'package:stackwallet/utilities/stack_file_system.dart'; import '../../utilities/stack_file_system.dart';
part 'stack_theme.g.dart'; part 'stack_theme.g.dart';

View file

@ -9,8 +9,8 @@
*/ */
import 'package:hive/hive.dart'; import 'package:hive/hive.dart';
import 'package:stackwallet/utilities/default_nodes.dart'; import '../utilities/default_nodes.dart';
import 'package:stackwallet/utilities/flutter_secure_storage_interface.dart'; import '../utilities/flutter_secure_storage_interface.dart';
part 'type_adaptors/node_model.g.dart'; part 'type_adaptors/node_model.g.dart';

View file

@ -8,8 +8,8 @@
* *
*/ */
import 'package:stackwallet/models/paynym/paynym_account_lite.dart'; import 'paynym_account_lite.dart';
import 'package:stackwallet/models/paynym/paynym_code.dart'; import 'paynym_code.dart';
class PaynymAccount { class PaynymAccount {
final String nymID; final String nymID;

View file

@ -9,8 +9,8 @@
*/ */
import 'package:coinlib_flutter/coinlib_flutter.dart'; import 'package:coinlib_flutter/coinlib_flutter.dart';
import 'package:stackwallet/models/isar/models/isar_models.dart'; import 'isar/models/isar_models.dart';
import 'package:stackwallet/utilities/enums/derive_path_type_enum.dart'; import '../utilities/enums/derive_path_type_enum.dart';
class SigningData { class SigningData {
SigningData({ SigningData({

View file

@ -10,9 +10,9 @@
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:stackwallet/models/wallet_restore_state.dart'; import 'wallet_restore_state.dart';
import 'package:stackwallet/utilities/enums/stack_restoring_status.dart'; import '../utilities/enums/stack_restoring_status.dart';
import 'package:stackwallet/wallets/wallet/wallet.dart'; import '../wallets/wallet/wallet.dart';
class StackRestoringUIState extends ChangeNotifier { class StackRestoringUIState extends ChangeNotifier {
bool _walletsWasSet = false; bool _walletsWasSet = false;

View file

@ -8,7 +8,7 @@
* *
*/ */
import 'package:stackwallet/utilities/amount/amount.dart'; import '../utilities/amount/amount.dart';
class TransactionFilter { class TransactionFilter {
final bool sent; final bool sent;

View file

@ -8,9 +8,9 @@
* *
*/ */
import 'package:stackwallet/models/isar/models/blockchain_data/utxo.dart'; import 'isar/models/blockchain_data/utxo.dart';
import 'package:stackwallet/utilities/amount/amount.dart'; import '../utilities/amount/amount.dart';
import 'package:stackwallet/wallets/models/tx_recipient.dart'; import '../wallets/models/tx_recipient.dart';
// TODO use something like this instead of Map<String, dynamic> transactionObject // TODO use something like this instead of Map<String, dynamic> transactionObject

View file

@ -9,9 +9,9 @@
*/ */
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:stackwallet/utilities/enums/stack_restoring_status.dart'; import '../utilities/enums/stack_restoring_status.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../wallets/crypto_currency/crypto_currency.dart';
import 'package:stackwallet/wallets/wallet/wallet.dart'; import '../wallets/wallet/wallet.dart';
class WalletRestoreState extends ChangeNotifier { class WalletRestoreState extends ChangeNotifier {
final String walletId; final String walletId;

View file

@ -4,7 +4,7 @@ import 'dart:io';
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'package:socks5_proxy/socks_client.dart'; import 'package:socks5_proxy/socks_client.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../utilities/logger.dart';
// WIP wrapper layer // WIP wrapper layer

View file

@ -13,18 +13,18 @@ import 'dart:io';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_svg/svg.dart'; import 'package:flutter_svg/svg.dart';
import 'package:stackwallet/app_config.dart'; import '../app_config.dart';
import 'package:stackwallet/models/isar/stack_theme.dart'; import '../models/isar/stack_theme.dart';
import 'package:stackwallet/models/notification_model.dart'; import '../models/notification_model.dart';
import 'package:stackwallet/themes/coin_icon_provider.dart'; import '../themes/coin_icon_provider.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../themes/stack_colors.dart';
import 'package:stackwallet/themes/theme_providers.dart'; import '../themes/theme_providers.dart';
import 'package:stackwallet/utilities/format.dart'; import '../utilities/format.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.dart'; import '../utilities/util.dart';
import 'package:stackwallet/widgets/conditional_parent.dart'; import '../widgets/conditional_parent.dart';
import 'package:stackwallet/widgets/rounded_container.dart'; import '../widgets/rounded_container.dart';
import 'package:stackwallet/widgets/rounded_white_container.dart'; import '../widgets/rounded_white_container.dart';
class NotificationCard extends ConsumerWidget { class NotificationCard extends ConsumerWidget {
const NotificationCard({ const NotificationCard({

View file

@ -12,9 +12,9 @@ import 'package:another_flushbar/flushbar.dart';
import 'package:another_flushbar/flushbar_route.dart' as flushRoute; import 'package:another_flushbar/flushbar_route.dart' as flushRoute;
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart'; import 'package:flutter_svg/svg.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../themes/stack_colors.dart';
import 'package:stackwallet/utilities/constants.dart'; import '../utilities/constants.dart';
import 'package:stackwallet/utilities/enums/flush_bar_type.dart'; import '../utilities/enums/flush_bar_type.dart';
export 'package:stackwallet/utilities/enums/flush_bar_type.dart'; export 'package:stackwallet/utilities/enums/flush_bar_type.dart';

View file

@ -13,19 +13,19 @@ import 'dart:async';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:stackwallet/models/isar/models/ethereum/eth_contract.dart'; import '../../../models/isar/models/ethereum/eth_contract.dart';
import 'package:stackwallet/services/ethereum/ethereum_api.dart'; import '../../../services/ethereum/ethereum_api.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../themes/stack_colors.dart';
import 'package:stackwallet/utilities/show_loading.dart'; import '../../../utilities/show_loading.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../utilities/util.dart';
import 'package:stackwallet/widgets/background.dart'; import '../../../widgets/background.dart';
import 'package:stackwallet/widgets/conditional_parent.dart'; import '../../../widgets/conditional_parent.dart';
import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart'; import '../../../widgets/custom_buttons/app_bar_icon_button.dart';
import 'package:stackwallet/widgets/desktop/desktop_dialog_close_button.dart'; import '../../../widgets/desktop/desktop_dialog_close_button.dart';
import 'package:stackwallet/widgets/desktop/primary_button.dart'; import '../../../widgets/desktop/primary_button.dart';
import 'package:stackwallet/widgets/desktop/secondary_button.dart'; import '../../../widgets/desktop/secondary_button.dart';
import 'package:stackwallet/widgets/stack_dialog.dart'; import '../../../widgets/stack_dialog.dart';
class AddCustomTokenView extends ConsumerStatefulWidget { class AddCustomTokenView extends ConsumerStatefulWidget {
const AddCustomTokenView({ const AddCustomTokenView({

View file

@ -14,38 +14,38 @@ import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_svg/svg.dart'; import 'package:flutter_svg/svg.dart';
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/db/isar/main_db.dart'; import '../../../db/isar/main_db.dart';
import 'package:stackwallet/models/isar/models/ethereum/eth_contract.dart'; import '../../../models/isar/models/ethereum/eth_contract.dart';
import 'package:stackwallet/notifications/show_flush_bar.dart'; import '../../../notifications/show_flush_bar.dart';
import 'package:stackwallet/pages/add_wallet_views/add_token_view/add_custom_token_view.dart'; import 'add_custom_token_view.dart';
import 'package:stackwallet/pages/add_wallet_views/add_token_view/sub_widgets/add_token_list.dart'; import 'sub_widgets/add_token_list.dart';
import 'package:stackwallet/pages/add_wallet_views/add_token_view/sub_widgets/add_token_list_element.dart'; import 'sub_widgets/add_token_list_element.dart';
import 'package:stackwallet/pages/add_wallet_views/add_token_view/sub_widgets/add_token_text.dart'; import 'sub_widgets/add_token_text.dart';
import 'package:stackwallet/pages/home_view/home_view.dart'; import '../../home_view/home_view.dart';
import 'package:stackwallet/pages_desktop_specific/desktop_home_view.dart'; import '../../../pages_desktop_specific/desktop_home_view.dart';
import 'package:stackwallet/providers/global/price_provider.dart'; import '../../../providers/global/price_provider.dart';
import 'package:stackwallet/providers/global/wallets_provider.dart'; import '../../../providers/global/wallets_provider.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../themes/stack_colors.dart';
import 'package:stackwallet/utilities/assets.dart'; import '../../../utilities/assets.dart';
import 'package:stackwallet/utilities/constants.dart'; import '../../../utilities/constants.dart';
import 'package:stackwallet/utilities/default_eth_tokens.dart'; import '../../../utilities/default_eth_tokens.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../utilities/util.dart';
import 'package:stackwallet/wallets/isar/providers/wallet_info_provider.dart'; import '../../../wallets/isar/providers/wallet_info_provider.dart';
import 'package:stackwallet/wallets/wallet/impl/ethereum_wallet.dart'; import '../../../wallets/wallet/impl/ethereum_wallet.dart';
import 'package:stackwallet/widgets/background.dart'; import '../../../widgets/background.dart';
import 'package:stackwallet/widgets/conditional_parent.dart'; import '../../../widgets/conditional_parent.dart';
import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart'; import '../../../widgets/custom_buttons/app_bar_icon_button.dart';
import 'package:stackwallet/widgets/desktop/desktop_app_bar.dart'; import '../../../widgets/desktop/desktop_app_bar.dart';
import 'package:stackwallet/widgets/desktop/desktop_dialog.dart'; import '../../../widgets/desktop/desktop_dialog.dart';
import 'package:stackwallet/widgets/desktop/desktop_dialog_close_button.dart'; import '../../../widgets/desktop/desktop_dialog_close_button.dart';
import 'package:stackwallet/widgets/desktop/desktop_scaffold.dart'; import '../../../widgets/desktop/desktop_scaffold.dart';
import 'package:stackwallet/widgets/desktop/primary_button.dart'; import '../../../widgets/desktop/primary_button.dart';
import 'package:stackwallet/widgets/desktop/secondary_button.dart'; import '../../../widgets/desktop/secondary_button.dart';
import 'package:stackwallet/widgets/icon_widgets/x_icon.dart'; import '../../../widgets/icon_widgets/x_icon.dart';
import 'package:stackwallet/widgets/rounded_white_container.dart'; import '../../../widgets/rounded_white_container.dart';
import 'package:stackwallet/widgets/stack_text_field.dart'; import '../../../widgets/stack_text_field.dart';
import 'package:stackwallet/widgets/textfield_icon_button.dart'; import '../../../widgets/textfield_icon_button.dart';
class EditWalletTokensView extends ConsumerStatefulWidget { class EditWalletTokensView extends ConsumerStatefulWidget {
const EditWalletTokensView({ const EditWalletTokensView({

View file

@ -10,11 +10,11 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart'; import 'package:flutter_svg/flutter_svg.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../../themes/stack_colors.dart';
import 'package:stackwallet/utilities/assets.dart'; import '../../../../utilities/assets.dart';
import 'package:stackwallet/utilities/constants.dart'; import '../../../../utilities/constants.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../utilities/util.dart';
class AddCustomTokenSelector extends StatelessWidget { class AddCustomTokenSelector extends StatelessWidget {
const AddCustomTokenSelector({ const AddCustomTokenSelector({

View file

@ -9,9 +9,9 @@
*/ */
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:stackwallet/pages/add_wallet_views/add_token_view/sub_widgets/add_custom_token_selector.dart'; import 'add_custom_token_selector.dart';
import 'package:stackwallet/pages/add_wallet_views/add_token_view/sub_widgets/add_token_list_element.dart'; import 'add_token_list_element.dart';
import 'package:stackwallet/widgets/conditional_parent.dart'; import '../../../../widgets/conditional_parent.dart';
class AddTokenList extends StatelessWidget { class AddTokenList extends StatelessWidget {
const AddTokenList({ const AddTokenList({

View file

@ -14,18 +14,18 @@ import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_svg/flutter_svg.dart'; import 'package:flutter_svg/flutter_svg.dart';
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/models/isar/exchange_cache/currency.dart'; import '../../../../models/isar/exchange_cache/currency.dart';
import 'package:stackwallet/models/isar/models/ethereum/eth_contract.dart'; import '../../../../models/isar/models/ethereum/eth_contract.dart';
import 'package:stackwallet/services/exchange/change_now/change_now_exchange.dart'; import '../../../../services/exchange/change_now/change_now_exchange.dart';
import 'package:stackwallet/services/exchange/exchange_data_loading_service.dart'; import '../../../../services/exchange/exchange_data_loading_service.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../../themes/stack_colors.dart';
import 'package:stackwallet/themes/theme_providers.dart'; import '../../../../themes/theme_providers.dart';
import 'package:stackwallet/utilities/assets.dart'; import '../../../../utilities/assets.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../utilities/util.dart';
import 'package:stackwallet/widgets/conditional_parent.dart'; import '../../../../widgets/conditional_parent.dart';
import 'package:stackwallet/widgets/custom_buttons/draggable_switch_button.dart'; import '../../../../widgets/custom_buttons/draggable_switch_button.dart';
import 'package:stackwallet/widgets/rounded_white_container.dart'; import '../../../../widgets/rounded_white_container.dart';
class AddTokenListElementData { class AddTokenListElementData {
AddTokenListElementData(this.token); AddTokenListElementData(this.token);

View file

@ -9,7 +9,7 @@
*/ */
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../utilities/text_styles.dart';
class AddTokenText extends StatelessWidget { class AddTokenText extends StatelessWidget {
const AddTokenText({ const AddTokenText({

View file

@ -16,36 +16,36 @@ import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_svg/svg.dart'; import 'package:flutter_svg/svg.dart';
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/db/isar/main_db.dart'; import '../../../db/isar/main_db.dart';
import 'package:stackwallet/models/add_wallet_list_entity/add_wallet_list_entity.dart'; import '../../../models/add_wallet_list_entity/add_wallet_list_entity.dart';
import 'package:stackwallet/models/add_wallet_list_entity/sub_classes/coin_entity.dart'; import '../../../models/add_wallet_list_entity/sub_classes/coin_entity.dart';
import 'package:stackwallet/models/add_wallet_list_entity/sub_classes/eth_token_entity.dart'; import '../../../models/add_wallet_list_entity/sub_classes/eth_token_entity.dart';
import 'package:stackwallet/models/isar/models/ethereum/eth_contract.dart'; import '../../../models/isar/models/ethereum/eth_contract.dart';
import 'package:stackwallet/pages/add_wallet_views/add_token_view/add_custom_token_view.dart'; import '../add_token_view/add_custom_token_view.dart';
import 'package:stackwallet/pages/add_wallet_views/add_token_view/sub_widgets/add_custom_token_selector.dart'; import '../add_token_view/sub_widgets/add_custom_token_selector.dart';
import 'package:stackwallet/pages/add_wallet_views/add_wallet_view/sub_widgets/add_wallet_text.dart'; import 'sub_widgets/add_wallet_text.dart';
import 'package:stackwallet/pages/add_wallet_views/add_wallet_view/sub_widgets/expanding_sub_list_item.dart'; import 'sub_widgets/expanding_sub_list_item.dart';
import 'package:stackwallet/pages/add_wallet_views/add_wallet_view/sub_widgets/next_button.dart'; import 'sub_widgets/next_button.dart';
import 'package:stackwallet/pages_desktop_specific/my_stack_view/exit_to_my_stack_button.dart'; import '../../../pages_desktop_specific/my_stack_view/exit_to_my_stack_button.dart';
import 'package:stackwallet/providers/providers.dart'; import '../../../providers/providers.dart';
import 'package:stackwallet/app_config.dart'; import '../../../app_config.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../themes/stack_colors.dart';
import 'package:stackwallet/utilities/assets.dart'; import '../../../utilities/assets.dart';
import 'package:stackwallet/utilities/constants.dart'; import '../../../utilities/constants.dart';
import 'package:stackwallet/utilities/default_eth_tokens.dart'; import '../../../utilities/default_eth_tokens.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../utilities/util.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../../../wallets/crypto_currency/crypto_currency.dart';
import 'package:stackwallet/widgets/background.dart'; import '../../../widgets/background.dart';
import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart'; import '../../../widgets/custom_buttons/app_bar_icon_button.dart';
import 'package:stackwallet/widgets/desktop/desktop_app_bar.dart'; import '../../../widgets/desktop/desktop_app_bar.dart';
import 'package:stackwallet/widgets/desktop/desktop_dialog.dart'; import '../../../widgets/desktop/desktop_dialog.dart';
import 'package:stackwallet/widgets/desktop/desktop_scaffold.dart'; import '../../../widgets/desktop/desktop_scaffold.dart';
import 'package:stackwallet/widgets/expandable.dart'; import '../../../widgets/expandable.dart';
import 'package:stackwallet/widgets/icon_widgets/x_icon.dart'; import '../../../widgets/icon_widgets/x_icon.dart';
import 'package:stackwallet/widgets/rounded_white_container.dart'; import '../../../widgets/rounded_white_container.dart';
import 'package:stackwallet/widgets/stack_text_field.dart'; import '../../../widgets/stack_text_field.dart';
import 'package:stackwallet/widgets/textfield_icon_button.dart'; import '../../../widgets/textfield_icon_button.dart';
class AddWalletView extends ConsumerStatefulWidget { class AddWalletView extends ConsumerStatefulWidget {
const AddWalletView({super.key}); const AddWalletView({super.key});

View file

@ -9,8 +9,8 @@
*/ */
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:stackwallet/models/add_wallet_list_entity/add_wallet_list_entity.dart'; import '../../../../models/add_wallet_list_entity/add_wallet_list_entity.dart';
import 'package:stackwallet/pages/add_wallet_views/add_wallet_view/sub_widgets/coin_select_item.dart'; import 'coin_select_item.dart';
class AddWalletEntityList extends StatelessWidget { class AddWalletEntityList extends StatelessWidget {
const AddWalletEntityList({ const AddWalletEntityList({

View file

@ -9,7 +9,7 @@
*/ */
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../utilities/text_styles.dart';
class AddWalletText extends StatelessWidget { class AddWalletText extends StatelessWidget {
const AddWalletText({super.key, required this.isDesktop}); const AddWalletText({super.key, required this.isDesktop});

View file

@ -14,18 +14,18 @@ import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_svg/svg.dart'; import 'package:flutter_svg/svg.dart';
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import 'package:stackwallet/models/add_wallet_list_entity/add_wallet_list_entity.dart'; import '../../../../models/add_wallet_list_entity/add_wallet_list_entity.dart';
import 'package:stackwallet/models/add_wallet_list_entity/sub_classes/eth_token_entity.dart'; import '../../../../models/add_wallet_list_entity/sub_classes/eth_token_entity.dart';
import 'package:stackwallet/models/isar/exchange_cache/currency.dart'; import '../../../../models/isar/exchange_cache/currency.dart';
import 'package:stackwallet/providers/providers.dart'; import '../../../../providers/providers.dart';
import 'package:stackwallet/services/exchange/change_now/change_now_exchange.dart'; import '../../../../services/exchange/change_now/change_now_exchange.dart';
import 'package:stackwallet/services/exchange/exchange_data_loading_service.dart'; import '../../../../services/exchange/exchange_data_loading_service.dart';
import 'package:stackwallet/themes/coin_icon_provider.dart'; import '../../../../themes/coin_icon_provider.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../../themes/stack_colors.dart';
import 'package:stackwallet/utilities/assets.dart'; import '../../../../utilities/assets.dart';
import 'package:stackwallet/utilities/constants.dart'; import '../../../../utilities/constants.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../utilities/util.dart';
class CoinSelectItem extends ConsumerWidget { class CoinSelectItem extends ConsumerWidget {
const CoinSelectItem({ const CoinSelectItem({

View file

@ -10,14 +10,14 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart'; import 'package:flutter_svg/svg.dart';
import 'package:stackwallet/models/add_wallet_list_entity/add_wallet_list_entity.dart'; import '../../../../models/add_wallet_list_entity/add_wallet_list_entity.dart';
import 'package:stackwallet/pages/add_wallet_views/add_wallet_view/sub_widgets/add_wallet_entity_list.dart'; import 'add_wallet_entity_list.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../../themes/stack_colors.dart';
import 'package:stackwallet/utilities/assets.dart'; import '../../../../utilities/assets.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../utilities/util.dart';
import 'package:stackwallet/widgets/animated_widgets/rotate_icon.dart'; import '../../../../widgets/animated_widgets/rotate_icon.dart';
import 'package:stackwallet/widgets/expandable.dart'; import '../../../../widgets/expandable.dart';
class ExpandingSubListItem extends StatefulWidget { class ExpandingSubListItem extends StatefulWidget {
const ExpandingSubListItem({ const ExpandingSubListItem({

View file

@ -10,12 +10,12 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:stackwallet/models/add_wallet_list_entity/sub_classes/eth_token_entity.dart'; import '../../../../models/add_wallet_list_entity/sub_classes/eth_token_entity.dart';
import 'package:stackwallet/pages/add_wallet_views/create_or_restore_wallet_view/create_or_restore_wallet_view.dart'; import '../../create_or_restore_wallet_view/create_or_restore_wallet_view.dart';
import 'package:stackwallet/pages/add_wallet_views/select_wallet_for_token_view.dart'; import '../../select_wallet_for_token_view.dart';
import 'package:stackwallet/providers/providers.dart'; import '../../../../providers/providers.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../../themes/stack_colors.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../utilities/text_styles.dart';
class AddWalletNextButton extends ConsumerWidget { class AddWalletNextButton extends ConsumerWidget {
const AddWalletNextButton({ const AddWalletNextButton({

View file

@ -9,18 +9,18 @@
*/ */
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:stackwallet/models/add_wallet_list_entity/add_wallet_list_entity.dart'; import '../../../models/add_wallet_list_entity/add_wallet_list_entity.dart';
import 'package:stackwallet/pages/add_wallet_views/create_or_restore_wallet_view/sub_widgets/coin_image.dart'; import 'sub_widgets/coin_image.dart';
import 'package:stackwallet/pages/add_wallet_views/create_or_restore_wallet_view/sub_widgets/create_or_restore_wallet_subtitle.dart'; import 'sub_widgets/create_or_restore_wallet_subtitle.dart';
import 'package:stackwallet/pages/add_wallet_views/create_or_restore_wallet_view/sub_widgets/create_or_restore_wallet_title.dart'; import 'sub_widgets/create_or_restore_wallet_title.dart';
import 'package:stackwallet/pages/add_wallet_views/create_or_restore_wallet_view/sub_widgets/create_wallet_button_group.dart'; import 'sub_widgets/create_wallet_button_group.dart';
import 'package:stackwallet/pages_desktop_specific/my_stack_view/exit_to_my_stack_button.dart'; import '../../../pages_desktop_specific/my_stack_view/exit_to_my_stack_button.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../themes/stack_colors.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../utilities/util.dart';
import 'package:stackwallet/widgets/background.dart'; import '../../../widgets/background.dart';
import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart'; import '../../../widgets/custom_buttons/app_bar_icon_button.dart';
import 'package:stackwallet/widgets/desktop/desktop_app_bar.dart'; import '../../../widgets/desktop/desktop_app_bar.dart';
import 'package:stackwallet/widgets/desktop/desktop_scaffold.dart'; import '../../../widgets/desktop/desktop_scaffold.dart';
class CreateOrRestoreWalletView extends StatelessWidget { class CreateOrRestoreWalletView extends StatelessWidget {
const CreateOrRestoreWalletView({ const CreateOrRestoreWalletView({

View file

@ -13,9 +13,9 @@ import 'dart:io';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_svg/svg.dart'; import 'package:flutter_svg/svg.dart';
import 'package:stackwallet/themes/coin_image_provider.dart'; import '../../../../themes/coin_image_provider.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../utilities/util.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../../../../wallets/crypto_currency/crypto_currency.dart';
class CoinImage extends ConsumerWidget { class CoinImage extends ConsumerWidget {
const CoinImage({ const CoinImage({

View file

@ -9,7 +9,7 @@
*/ */
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../utilities/text_styles.dart';
class CreateRestoreWalletSubTitle extends StatelessWidget { class CreateRestoreWalletSubTitle extends StatelessWidget {
const CreateRestoreWalletSubTitle({ const CreateRestoreWalletSubTitle({

View file

@ -9,8 +9,8 @@
*/ */
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../utilities/text_styles.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../../../../wallets/crypto_currency/crypto_currency.dart';
class CreateRestoreWalletTitle extends StatelessWidget { class CreateRestoreWalletTitle extends StatelessWidget {
const CreateRestoreWalletTitle({ const CreateRestoreWalletTitle({

View file

@ -11,12 +11,12 @@
import 'dart:io'; import 'dart:io';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:stackwallet/pages/add_wallet_views/name_your_wallet_view/name_your_wallet_view.dart'; import '../../name_your_wallet_view/name_your_wallet_view.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../../themes/stack_colors.dart';
import 'package:stackwallet/utilities/enums/add_wallet_type_enum.dart'; import '../../../../utilities/enums/add_wallet_type_enum.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../utilities/text_styles.dart';
import 'package:stackwallet/wallets/crypto_currency/coins/wownero.dart'; import '../../../../wallets/crypto_currency/coins/wownero.dart';
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart'; import '../../../../wallets/crypto_currency/crypto_currency.dart';
import 'package:tuple/tuple.dart'; import 'package:tuple/tuple.dart';
class CreateWalletButtonGroup extends StatelessWidget { class CreateWalletButtonGroup extends StatelessWidget {

View file

@ -1,25 +1,25 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:stackwallet/frost_route_generator.dart'; import '../../../../frost_route_generator.dart';
import 'package:stackwallet/providers/frost_wallet/frost_wallet_providers.dart'; import '../../../../providers/frost_wallet/frost_wallet_providers.dart';
import 'package:stackwallet/services/frost.dart'; import '../../../../services/frost.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../../themes/stack_colors.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../utilities/util.dart';
import 'package:stackwallet/wallets/crypto_currency/intermediate/frost_currency.dart'; import '../../../../wallets/crypto_currency/intermediate/frost_currency.dart';
import 'package:stackwallet/widgets/background.dart'; import '../../../../widgets/background.dart';
import 'package:stackwallet/widgets/conditional_parent.dart'; import '../../../../widgets/conditional_parent.dart';
import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart'; import '../../../../widgets/custom_buttons/app_bar_icon_button.dart';
import 'package:stackwallet/widgets/custom_buttons/blue_text_button.dart'; import '../../../../widgets/custom_buttons/blue_text_button.dart';
import 'package:stackwallet/widgets/desktop/desktop_app_bar.dart'; import '../../../../widgets/desktop/desktop_app_bar.dart';
import 'package:stackwallet/widgets/desktop/desktop_scaffold.dart'; import '../../../../widgets/desktop/desktop_scaffold.dart';
import 'package:stackwallet/widgets/desktop/primary_button.dart'; import '../../../../widgets/desktop/primary_button.dart';
import 'package:stackwallet/widgets/dialogs/simple_mobile_dialog.dart'; import '../../../../widgets/dialogs/simple_mobile_dialog.dart';
import 'package:stackwallet/widgets/frost_mascot.dart'; import '../../../../widgets/frost_mascot.dart';
import 'package:stackwallet/widgets/frost_scaffold.dart'; import '../../../../widgets/frost_scaffold.dart';
import 'package:stackwallet/widgets/rounded_white_container.dart'; import '../../../../widgets/rounded_white_container.dart';
import 'package:stackwallet/widgets/stack_dialog.dart'; import '../../../../widgets/stack_dialog.dart';
class CreateNewFrostMsWalletView extends ConsumerStatefulWidget { class CreateNewFrostMsWalletView extends ConsumerStatefulWidget {
const CreateNewFrostMsWalletView({ const CreateNewFrostMsWalletView({

View file

@ -1,22 +1,22 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_svg/flutter_svg.dart'; import 'package:flutter_svg/flutter_svg.dart';
import 'package:stackwallet/frost_route_generator.dart'; import '../../../../frost_route_generator.dart';
import 'package:stackwallet/pages_desktop_specific/my_stack_view/exit_to_my_stack_button.dart'; import '../../../../pages_desktop_specific/my_stack_view/exit_to_my_stack_button.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../../themes/stack_colors.dart';
import 'package:stackwallet/utilities/assets.dart'; import '../../../../utilities/assets.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../utilities/util.dart';
import 'package:stackwallet/wallets/crypto_currency/intermediate/frost_currency.dart'; import '../../../../wallets/crypto_currency/intermediate/frost_currency.dart';
import 'package:stackwallet/widgets/background.dart'; import '../../../../widgets/background.dart';
import 'package:stackwallet/widgets/conditional_parent.dart'; import '../../../../widgets/conditional_parent.dart';
import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart'; import '../../../../widgets/custom_buttons/app_bar_icon_button.dart';
import 'package:stackwallet/widgets/desktop/desktop_app_bar.dart'; import '../../../../widgets/desktop/desktop_app_bar.dart';
import 'package:stackwallet/widgets/desktop/desktop_scaffold.dart'; import '../../../../widgets/desktop/desktop_scaffold.dart';
import 'package:stackwallet/widgets/desktop/primary_button.dart'; import '../../../../widgets/desktop/primary_button.dart';
import 'package:stackwallet/widgets/dialogs/simple_mobile_dialog.dart'; import '../../../../widgets/dialogs/simple_mobile_dialog.dart';
import 'package:stackwallet/widgets/frost_scaffold.dart'; import '../../../../widgets/frost_scaffold.dart';
import 'package:stackwallet/widgets/rounded_white_container.dart'; import '../../../../widgets/rounded_white_container.dart';
class SelectNewFrostImportTypeView extends ConsumerStatefulWidget { class SelectNewFrostImportTypeView extends ConsumerStatefulWidget {
const SelectNewFrostImportTypeView({ const SelectNewFrostImportTypeView({

View file

@ -2,21 +2,21 @@ import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_svg/flutter_svg.dart'; import 'package:flutter_svg/flutter_svg.dart';
import 'package:qr_flutter/qr_flutter.dart'; import 'package:qr_flutter/qr_flutter.dart';
import 'package:stackwallet/frost_route_generator.dart'; import '../../../../../frost_route_generator.dart';
import 'package:stackwallet/pages/wallet_view/transaction_views/transaction_details_view.dart'; import '../../../../wallet_view/transaction_views/transaction_details_view.dart';
import 'package:stackwallet/providers/frost_wallet/frost_wallet_providers.dart'; import '../../../../../providers/frost_wallet/frost_wallet_providers.dart';
import 'package:stackwallet/services/frost.dart'; import '../../../../../services/frost.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../../../themes/stack_colors.dart';
import 'package:stackwallet/utilities/assets.dart'; import '../../../../../utilities/assets.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../../utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../../utilities/util.dart';
import 'package:stackwallet/widgets/custom_buttons/checkbox_text_button.dart'; import '../../../../../widgets/custom_buttons/checkbox_text_button.dart';
import 'package:stackwallet/widgets/custom_buttons/simple_copy_button.dart'; import '../../../../../widgets/custom_buttons/simple_copy_button.dart';
import 'package:stackwallet/widgets/desktop/primary_button.dart'; import '../../../../../widgets/desktop/primary_button.dart';
import 'package:stackwallet/widgets/desktop/secondary_button.dart'; import '../../../../../widgets/desktop/secondary_button.dart';
import 'package:stackwallet/widgets/detail_item.dart'; import '../../../../../widgets/detail_item.dart';
import 'package:stackwallet/widgets/dialogs/simple_mobile_dialog.dart'; import '../../../../../widgets/dialogs/simple_mobile_dialog.dart';
import 'package:stackwallet/widgets/frost_step_user_steps.dart'; import '../../../../../widgets/frost_step_user_steps.dart';
class FrostCreateStep1a extends ConsumerStatefulWidget { class FrostCreateStep1a extends ConsumerStatefulWidget {
const FrostCreateStep1a({super.key}); const FrostCreateStep1a({super.key});

View file

@ -1,16 +1,16 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:stackwallet/frost_route_generator.dart'; import '../../../../../frost_route_generator.dart';
import 'package:stackwallet/providers/frost_wallet/frost_wallet_providers.dart'; import '../../../../../providers/frost_wallet/frost_wallet_providers.dart';
import 'package:stackwallet/services/frost.dart'; import '../../../../../services/frost.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../../utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../../utilities/util.dart';
import 'package:stackwallet/widgets/custom_buttons/checkbox_text_button.dart'; import '../../../../../widgets/custom_buttons/checkbox_text_button.dart';
import 'package:stackwallet/widgets/desktop/primary_button.dart'; import '../../../../../widgets/desktop/primary_button.dart';
import 'package:stackwallet/widgets/frost_step_user_steps.dart'; import '../../../../../widgets/frost_step_user_steps.dart';
import 'package:stackwallet/widgets/rounded_white_container.dart'; import '../../../../../widgets/rounded_white_container.dart';
import 'package:stackwallet/widgets/stack_dialog.dart'; import '../../../../../widgets/stack_dialog.dart';
import 'package:stackwallet/widgets/textfields/frost_step_field.dart'; import '../../../../../widgets/textfields/frost_step_field.dart';
class FrostCreateStep1b extends ConsumerStatefulWidget { class FrostCreateStep1b extends ConsumerStatefulWidget {
const FrostCreateStep1b({super.key}); const FrostCreateStep1b({super.key});

View file

@ -1,20 +1,20 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:stackwallet/frost_route_generator.dart'; import '../../../../../frost_route_generator.dart';
import 'package:stackwallet/pages/wallet_view/transaction_views/tx_v2/transaction_v2_details_view.dart'; import '../../../../wallet_view/transaction_views/tx_v2/transaction_v2_details_view.dart';
import 'package:stackwallet/providers/frost_wallet/frost_wallet_providers.dart'; import '../../../../../providers/frost_wallet/frost_wallet_providers.dart';
import 'package:stackwallet/services/frost.dart'; import '../../../../../services/frost.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../../../../../utilities/logger.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../../utilities/util.dart';
import 'package:stackwallet/widgets/custom_buttons/checkbox_text_button.dart'; import '../../../../../widgets/custom_buttons/checkbox_text_button.dart';
import 'package:stackwallet/widgets/custom_buttons/frost_qr_dialog_button.dart'; import '../../../../../widgets/custom_buttons/frost_qr_dialog_button.dart';
import 'package:stackwallet/widgets/custom_buttons/simple_copy_button.dart'; import '../../../../../widgets/custom_buttons/simple_copy_button.dart';
import 'package:stackwallet/widgets/desktop/primary_button.dart'; import '../../../../../widgets/desktop/primary_button.dart';
import 'package:stackwallet/widgets/detail_item.dart'; import '../../../../../widgets/detail_item.dart';
import 'package:stackwallet/widgets/dialogs/frost/frost_error_dialog.dart'; import '../../../../../widgets/dialogs/frost/frost_error_dialog.dart';
import 'package:stackwallet/widgets/frost_step_user_steps.dart'; import '../../../../../widgets/frost_step_user_steps.dart';
import 'package:stackwallet/widgets/stack_dialog.dart'; import '../../../../../widgets/stack_dialog.dart';
import 'package:stackwallet/widgets/textfields/frost_step_field.dart'; import '../../../../../widgets/textfields/frost_step_field.dart';
class FrostCreateStep2 extends ConsumerStatefulWidget { class FrostCreateStep2 extends ConsumerStatefulWidget {
const FrostCreateStep2({ const FrostCreateStep2({

View file

@ -1,20 +1,21 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:stackwallet/frost_route_generator.dart';
import 'package:stackwallet/pages/wallet_view/transaction_views/tx_v2/transaction_v2_details_view.dart'; import '../../../../../frost_route_generator.dart';
import 'package:stackwallet/providers/frost_wallet/frost_wallet_providers.dart'; import '../../../../../providers/frost_wallet/frost_wallet_providers.dart';
import 'package:stackwallet/services/frost.dart'; import '../../../../../services/frost.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../../../../../utilities/logger.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../../utilities/util.dart';
import 'package:stackwallet/widgets/custom_buttons/checkbox_text_button.dart'; import '../../../../../widgets/custom_buttons/checkbox_text_button.dart';
import 'package:stackwallet/widgets/custom_buttons/frost_qr_dialog_button.dart'; import '../../../../../widgets/custom_buttons/frost_qr_dialog_button.dart';
import 'package:stackwallet/widgets/custom_buttons/simple_copy_button.dart'; import '../../../../../widgets/custom_buttons/simple_copy_button.dart';
import 'package:stackwallet/widgets/desktop/primary_button.dart'; import '../../../../../widgets/desktop/primary_button.dart';
import 'package:stackwallet/widgets/detail_item.dart'; import '../../../../../widgets/detail_item.dart';
import 'package:stackwallet/widgets/dialogs/frost/frost_error_dialog.dart'; import '../../../../../widgets/dialogs/frost/frost_error_dialog.dart';
import 'package:stackwallet/widgets/frost_step_user_steps.dart'; import '../../../../../widgets/frost_step_user_steps.dart';
import 'package:stackwallet/widgets/stack_dialog.dart'; import '../../../../../widgets/stack_dialog.dart';
import 'package:stackwallet/widgets/textfields/frost_step_field.dart'; import '../../../../../widgets/textfields/frost_step_field.dart';
import '../../../../wallet_view/transaction_views/tx_v2/transaction_v2_details_view.dart';
class FrostCreateStep3 extends ConsumerStatefulWidget { class FrostCreateStep3 extends ConsumerStatefulWidget {
const FrostCreateStep3({super.key}); const FrostCreateStep3({super.key});

View file

@ -2,14 +2,15 @@ import 'dart:typed_data';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:stackwallet/frost_route_generator.dart';
import 'package:stackwallet/pages/wallet_view/transaction_views/tx_v2/transaction_v2_details_view.dart'; import '../../../../../frost_route_generator.dart';
import 'package:stackwallet/providers/frost_wallet/frost_wallet_providers.dart'; import '../../../../../providers/frost_wallet/frost_wallet_providers.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../../utilities/util.dart';
import 'package:stackwallet/widgets/custom_buttons/simple_copy_button.dart'; import '../../../../../widgets/custom_buttons/simple_copy_button.dart';
import 'package:stackwallet/widgets/desktop/primary_button.dart'; import '../../../../../widgets/desktop/primary_button.dart';
import 'package:stackwallet/widgets/detail_item.dart'; import '../../../../../widgets/detail_item.dart';
import 'package:stackwallet/widgets/frost_step_user_steps.dart'; import '../../../../../widgets/frost_step_user_steps.dart';
import '../../../../wallet_view/transaction_views/tx_v2/transaction_v2_details_view.dart';
class FrostCreateStep4 extends ConsumerStatefulWidget { class FrostCreateStep4 extends ConsumerStatefulWidget {
const FrostCreateStep4({super.key}); const FrostCreateStep4({super.key});

View file

@ -3,32 +3,33 @@ import 'dart:typed_data';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:stackwallet/frost_route_generator.dart';
import 'package:stackwallet/notifications/show_flush_bar.dart'; import '../../../../../frost_route_generator.dart';
import 'package:stackwallet/pages/home_view/home_view.dart'; import '../../../../../notifications/show_flush_bar.dart';
import 'package:stackwallet/pages/wallet_view/transaction_views/tx_v2/transaction_v2_details_view.dart'; import '../../../../../pages_desktop_specific/desktop_home_view.dart';
import 'package:stackwallet/pages_desktop_specific/desktop_home_view.dart'; import '../../../../../providers/db/main_db_provider.dart';
import 'package:stackwallet/providers/db/main_db_provider.dart'; import '../../../../../providers/frost_wallet/frost_wallet_providers.dart';
import 'package:stackwallet/providers/frost_wallet/frost_wallet_providers.dart'; import '../../../../../providers/global/node_service_provider.dart';
import 'package:stackwallet/providers/global/node_service_provider.dart'; import '../../../../../providers/global/prefs_provider.dart';
import 'package:stackwallet/providers/global/prefs_provider.dart'; import '../../../../../providers/global/secure_store_provider.dart';
import 'package:stackwallet/providers/global/secure_store_provider.dart'; import '../../../../../providers/global/wallets_provider.dart';
import 'package:stackwallet/providers/global/wallets_provider.dart'; import '../../../../../services/frost.dart';
import 'package:stackwallet/services/frost.dart'; import '../../../../../themes/stack_colors.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../../../utilities/assets.dart';
import 'package:stackwallet/utilities/assets.dart'; import '../../../../../utilities/logger.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../../../../../utilities/text_styles.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../../utilities/util.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../../wallets/isar/models/wallet_info.dart';
import 'package:stackwallet/wallets/isar/models/wallet_info.dart'; import '../../../../../wallets/wallet/impl/bitcoin_frost_wallet.dart';
import 'package:stackwallet/wallets/wallet/impl/bitcoin_frost_wallet.dart'; import '../../../../../wallets/wallet/wallet.dart';
import 'package:stackwallet/wallets/wallet/wallet.dart'; import '../../../../../widgets/custom_buttons/checkbox_text_button.dart';
import 'package:stackwallet/widgets/custom_buttons/checkbox_text_button.dart'; import '../../../../../widgets/custom_buttons/simple_copy_button.dart';
import 'package:stackwallet/widgets/custom_buttons/simple_copy_button.dart'; import '../../../../../widgets/desktop/primary_button.dart';
import 'package:stackwallet/widgets/desktop/primary_button.dart'; import '../../../../../widgets/detail_item.dart';
import 'package:stackwallet/widgets/detail_item.dart'; import '../../../../../widgets/loading_indicator.dart';
import 'package:stackwallet/widgets/loading_indicator.dart'; import '../../../../../widgets/rounded_container.dart';
import 'package:stackwallet/widgets/rounded_container.dart'; import '../../../../home_view/home_view.dart';
import '../../../../wallet_view/transaction_views/tx_v2/transaction_v2_details_view.dart';
class FrostCreateStep5 extends ConsumerStatefulWidget { class FrostCreateStep5 extends ConsumerStatefulWidget {
const FrostCreateStep5({super.key}); const FrostCreateStep5({super.key});

View file

@ -2,27 +2,28 @@ import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_svg/flutter_svg.dart'; import 'package:flutter_svg/flutter_svg.dart';
import 'package:qr_flutter/qr_flutter.dart'; import 'package:qr_flutter/qr_flutter.dart';
import 'package:stackwallet/frost_route_generator.dart';
import 'package:stackwallet/pages/wallet_view/transaction_views/transaction_details_view.dart'; import '../../../../frost_route_generator.dart';
import 'package:stackwallet/providers/db/main_db_provider.dart'; import '../../../../providers/db/main_db_provider.dart';
import 'package:stackwallet/providers/frost_wallet/frost_wallet_providers.dart'; import '../../../../providers/frost_wallet/frost_wallet_providers.dart';
import 'package:stackwallet/providers/global/wallets_provider.dart'; import '../../../../providers/global/wallets_provider.dart';
import 'package:stackwallet/services/frost.dart'; import '../../../../services/frost.dart';
import 'package:stackwallet/themes/stack_colors.dart'; import '../../../../themes/stack_colors.dart';
import 'package:stackwallet/utilities/assets.dart'; import '../../../../utilities/assets.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../../../../utilities/logger.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import '../../../../utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../utilities/util.dart';
import 'package:stackwallet/wallets/isar/models/frost_wallet_info.dart'; import '../../../../wallets/isar/models/frost_wallet_info.dart';
import 'package:stackwallet/wallets/wallet/impl/bitcoin_frost_wallet.dart'; import '../../../../wallets/wallet/impl/bitcoin_frost_wallet.dart';
import 'package:stackwallet/widgets/custom_buttons/checkbox_text_button.dart'; import '../../../../widgets/custom_buttons/checkbox_text_button.dart';
import 'package:stackwallet/widgets/custom_buttons/simple_copy_button.dart'; import '../../../../widgets/custom_buttons/simple_copy_button.dart';
import 'package:stackwallet/widgets/desktop/primary_button.dart'; import '../../../../widgets/desktop/primary_button.dart';
import 'package:stackwallet/widgets/desktop/secondary_button.dart'; import '../../../../widgets/desktop/secondary_button.dart';
import 'package:stackwallet/widgets/detail_item.dart'; import '../../../../widgets/detail_item.dart';
import 'package:stackwallet/widgets/dialogs/frost/frost_error_dialog.dart'; import '../../../../widgets/dialogs/frost/frost_error_dialog.dart';
import 'package:stackwallet/widgets/dialogs/simple_mobile_dialog.dart'; import '../../../../widgets/dialogs/simple_mobile_dialog.dart';
import 'package:stackwallet/widgets/frost_step_user_steps.dart'; import '../../../../widgets/frost_step_user_steps.dart';
import '../../../wallet_view/transaction_views/transaction_details_view.dart';
class FrostReshareStep1a extends ConsumerStatefulWidget { class FrostReshareStep1a extends ConsumerStatefulWidget {
const FrostReshareStep1a({super.key}); const FrostReshareStep1a({super.key});

View file

@ -1,20 +1,21 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:frostdart/frostdart.dart'; import 'package:frostdart/frostdart.dart';
import 'package:stackwallet/frost_route_generator.dart';
import 'package:stackwallet/providers/db/main_db_provider.dart'; import '../../../../frost_route_generator.dart';
import 'package:stackwallet/providers/frost_wallet/frost_wallet_providers.dart'; import '../../../../providers/db/main_db_provider.dart';
import 'package:stackwallet/providers/global/secure_store_provider.dart'; import '../../../../providers/frost_wallet/frost_wallet_providers.dart';
import 'package:stackwallet/services/frost.dart'; import '../../../../providers/global/secure_store_provider.dart';
import 'package:stackwallet/utilities/format.dart'; import '../../../../services/frost.dart';
import 'package:stackwallet/utilities/logger.dart'; import '../../../../utilities/format.dart';
import 'package:stackwallet/utilities/util.dart'; import '../../../../utilities/logger.dart';
import 'package:stackwallet/wallets/isar/models/frost_wallet_info.dart'; import '../../../../utilities/util.dart';
import 'package:stackwallet/widgets/custom_buttons/checkbox_text_button.dart'; import '../../../../wallets/isar/models/frost_wallet_info.dart';
import 'package:stackwallet/widgets/desktop/primary_button.dart'; import '../../../../widgets/custom_buttons/checkbox_text_button.dart';
import 'package:stackwallet/widgets/dialogs/frost/frost_error_dialog.dart'; import '../../../../widgets/desktop/primary_button.dart';
import 'package:stackwallet/widgets/frost_step_user_steps.dart'; import '../../../../widgets/dialogs/frost/frost_error_dialog.dart';
import 'package:stackwallet/widgets/textfields/frost_step_field.dart'; import '../../../../widgets/frost_step_user_steps.dart';
import '../../../../widgets/textfields/frost_step_field.dart';
class FrostReshareStep1b extends ConsumerStatefulWidget { class FrostReshareStep1b extends ConsumerStatefulWidget {
const FrostReshareStep1b({ const FrostReshareStep1b({

Some files were not shown because too many files have changed in this diff Show more