Skip to content

Commit

Permalink
Update main.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
ttorii20 committed May 19, 2024
1 parent 5ee877a commit c81ebd5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions flutter_secure_storage/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class ItemsWidgetState extends State<ItemsWidget> {
Future<void> _addNewItem() async {
final String key = _randomValue();
final String value = _randomValue();
print("_addNewItem");
// print("_addNewItem");
await FlutterSecureStorage(
iOptions: _getIOSOptions(),
aOptions: _getAndroidOptions(useBiometric: true),
Expand Down Expand Up @@ -104,8 +104,8 @@ class ItemsWidgetState extends State<ItemsWidget> {
authenticationValidityDurationSeconds: 20,
);

String? _getAccountName() =>
_accountNameController.text.isEmpty ? null : _accountNameController.text;
// String? _getAccountName() =>
// _accountNameController.text.isEmpty ? null : _accountNameController.text;

@override
Widget build(BuildContext context) => Scaffold(
Expand Down Expand Up @@ -167,7 +167,7 @@ class ItemsWidgetState extends State<ItemsWidget> {
iOptions: _getIOSOptions(),
aOptions: _getAndroidOptions(useBiometric: true),
);
print(v);
// print(v);
},
),
TextButton(
Expand Down Expand Up @@ -294,7 +294,7 @@ class ItemsWidgetState extends State<ItemsWidget> {
key: key,
iOptions: const IOSOptions(
accessibility: KeychainAccessibility.passcode,
accessControlCreateFlags: null,
// accessControlCreateFlags: null,
),
aOptions: _getAndroidOptions(useBiometric: true),
);
Expand Down

0 comments on commit c81ebd5

Please sign in to comment.