-
Notifications
You must be signed in to change notification settings - Fork 5
Add widgets for custom layout to widget_toolkit_pin #135
Copy link
Copy link
Open
Description
As a developer, I would like to have more control over how to show the various components in widget_toolkit_pin, with widgets which I can put on a page wherever I want while achieving the intended functionality.
ACs:
- Add & export
PinCodeProviderwrapper for the widgets which will create & providePinCodeBlocto it’s descendants- add
PinCodeService pinCodeServiceparameter - add
BiometricsLocalDataSource? biometricsLocalDataSourceparameter in case of using biometrics - add
String? localizedBiometricsReasonparameter in case of using biometrics - add
Function(dynamic)? onAuthenticatedparameter
- add
- Export
PinCodeKeyboardwidget:- emit current input pin to
PinCodeBloc - add
PinCodeCustomKey? deleteKeyButtonparameter - add
bool? isDisabledas a parameter, or fromPinCodeBlocas default while loading
- emit current input pin to
- Add & export
PinCodeMaskedKeyswidget:- add
int? currentPinLengthas a parameter, or fromPinCodeBlocas default - add
bool? isLoadingas a parameter, or fromPinCodeBlocas default
- add
- Add & export
PinCodeErrorwidget:- add
ErrorModel? erroras a parameter, or fromPinCodeBlocas default - add
String Function(Object error) translateErrorparameter
- add
- Provide our implementation with shake & slide animations on error as default
- Update documentation to reflect changes
- Update tests
Estimate: 28h
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels