Core stuff

This commit is contained in:
M 2020-05-25 16:06:40 +03:00
parent 1d793ab284
commit 8c6b99da42
3 changed files with 44 additions and 0 deletions

12
lib/core/app_store.dart Normal file
View file

@ -0,0 +1,12 @@
import 'package:mobx/mobx.dart';
part 'app_store.g.dart';
class AppStore = AppStoreBase with _$AppStore;
abstract class AppStoreBase with Store {
// Sign Up
// Auth
// Wallet
// Settings
}

View file

@ -0,0 +1,20 @@
import 'dart:async';
import 'package:cake_wallet/src/domain/common/node.dart';
import 'package:cake_wallet/src/domain/common/wallet_type.dart';
import 'package:mobx/mobx.dart';
import 'package:cake_wallet/src/domain/common/wallet.dart';
import 'package:cake_wallet/src/domain/monero/account.dart';
import 'package:cake_wallet/src/domain/monero/monero_wallet.dart';
import 'package:cake_wallet/src/domain/monero/subaddress.dart';
import 'package:cake_wallet/src/domain/services/wallet_service.dart';
import 'package:cake_wallet/src/domain/common/crypto_currency.dart';
import 'package:cake_wallet/src/stores/settings/settings_store.dart';
import 'package:cake_wallet/generated/i18n.dart';
part 'monero_wallet_store.g.dart';
class MoneroWalletStore = MoneroWalletStoreBase with _$MoneroWalletStore;
abstract class MoneroWalletStoreBase with Store {
}

View file

@ -0,0 +1,12 @@
import 'package:flutter/foundation.dart';
import 'package:mobx/mobx.dart';
import 'package:cake_wallet/src/domain/common/wallet_type.dart';
part 'sign_up_store.g.dart';
class SignUpStore = SignUpStoreBase with _$SignUpStore;
abstract class SignUpStoreBase with Store {
}