mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-01 18:07:44 +00:00
14 lines
No EOL
674 B
Dart
14 lines
No EOL
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)); |