cake_wallet/lib/src/screens/seed/create_seed_page.dart
2020-01-04 21:31:52 +02:00

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));