Alex
Alex
Hi, @chooyan-eng Please correct me if I wrong, but seems that you don't handle error when calling ImageImageCropper finally. Now I got InvalidRectError by somehow on Xiaomi K50 pro and...
```Launching lib/main.dart on iPhone 12 in debug mode... Unhandled exception: Crash when compiling: Concurrent modification during iteration: Instance(length:2) of '_GrowableList'. #0 ListIterator.moveNext (dart:_internal/iterable.dart:348) #1 BodyBuilder._unaliasTypeAliasedConstructorInvocations (package:front_end/src/fasta/kernel/body_builder.dart:1640) #2 BodyBuilder.performDelayedActions (package:front_end/src/fasta/kernel/body_builder.dart:1755) #3...
TL;DR: In my case, the reason was that I was using deprecated MaterialState* classes. I replaced them with WidgetState and the problem went away. But, to see the cause of...
That because key was saved using different options. In my case, I started using `first_unlock`, but keys were saved without it and I use read/delete(key, iOptions: IOSOptions()) then saves with...
I'll just leave this here it works... ```dart const FlutterSecureStorage secureStorage = FlutterSecureStorage( iOptions: IOSOptions(accessibility: KeychainAccessibility.first_unlock), ); String? secureKey; try { await secureStorage.waitingAvailability(); secureKey = await secureStorage.read(key: _secureKeyName); // try...
```dart import 'dart:io'; import 'package:flutter_secure_storage/flutter_secure_storage.dart'; extension StorageAvailability on FlutterSecureStorage { /// waiting availability, especially for iOS /// /// for example, iOS secure storage may not available due to prewarming ///...
You should listen for notifications only if `await isCupertinoProtectedDataAvailable() == false` else you will not receive any notification. Or, in other words, if `await isCupertinoProtectedDataAvailable() == true` then you already...