mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-02 02:17:39 +00:00
14 lines
674 B
Dart
14 lines
674 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
import 'package:provider/provider.dart';
|
||
|
import 'package:cake_wallet/src/domain/services/wallet_service.dart';
|
||
|
import 'package:cake_wallet/src/screens/seed/seed_page.dart';
|
||
|
import 'package:cake_wallet/src/stores/settings/settings_store.dart';
|
||
|
import 'package:cake_wallet/src/stores/wallet_seed/wallet_seed_store.dart';
|
||
|
|
||
|
Widget createSeedPage(
|
||
|
{@required SettingsStore settingsStore,
|
||
|
@required WalletService walletService,
|
||
|
@required void Function() callback}) =>
|
||
|
Provider(
|
||
|
create: (_) => WalletSeedStore(walletService: walletService),
|
||
|
child: SeedPage(onCloseCallback: callback));
|