-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b396ee
commit f79cc1f
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import 'package:aewallet/ui/views/intro/layouts/intro_configure_security.dart'; | ||
import 'package:aewallet/ui/widgets/components/picker_item.dart'; | ||
import 'package:flutter/material.dart'; | ||
import 'package:flutter_riverpod/flutter_riverpod.dart'; | ||
|
||
// TODO (redDwarf03) => BIG PB Lors de rebase........ à checker avec Dev | ||
mixin SecurityConfigurationMixin { | ||
Future<bool> launchSecurityConfiguration( | ||
BuildContext context, | ||
WidgetRef ref, | ||
String name, | ||
String seed, | ||
) async { | ||
final bool securityConfiguration = await Navigator.of(context).push( | ||
MaterialPageRoute( | ||
builder: (BuildContext context) { | ||
return IntroConfigureSecurity( | ||
name: name, | ||
seed: seed, | ||
); | ||
}, | ||
), | ||
); | ||
|
||
return securityConfiguration; | ||
} | ||
|
||
static Future<List<PickerItem>> getPickerItemAuthMode( | ||
BuildContext context, | ||
WidgetRef ref, | ||
) async { | ||
final pickerItemsList = List<PickerItem>.empty(growable: true); | ||
return pickerItemsList; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters