PinCodeBloc class

Implemented types
Annotations
  • @RxBloc.new()

Constructors

PinCodeBloc({required PinBiometricsService biometricAuthenticationService, required PinCodeService pinCodeService, required String localizedReason, required bool autoPromptBiometric})

Properties

authenticated → ConnectableStream
Emits when user successfully authenticate (pin/biometrics)
no setterinherited
autoPromptBiometric bool
final
biometricAuthenticationService → PinBiometricsService
final
digitsCount Stream<int>
Emits current PIN length to UI
no setterinherited
errors Stream<ErrorModel>
The error state
no setterinherited
errorState Stream<Exception>
The errors of all handled result streams.
no setterinherited
errorWithTagState Stream<ErrorWithTag>
The errors of all handled result streams along with the tag
no setterinherited
events PinCodeBlocEvents
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isLoading Stream<bool>
The loading state
no setterinherited
loadingState Stream<bool>
The loading states without tags of all handled result streams.
no setterinherited
loadingWithTagState Stream<LoadingWithTag>
The loading states with tags of all handled result streams.
no setterinherited
localizedReason String
final
pinCodeService PinCodeService
final
placeholderDigitsCount Stream<int>
Emits placeholder PIN length to UI
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showBiometricsButton Stream<bool>
Indicating the biometrics button must be presented
no setterinherited
states PinCodeBlocStates
no setterinherited

Methods

addDigit(String digit) → void
Triggered when user tap on the digit
inherited
biometricsButtonPressed() → void
Triggered when user tap on biometrics button
inherited
deleteDigit() → void
Triggered when user delete digit
inherited
dispose() → void
Disposes all internally created streams
loadingForTagState(String tag) Stream<bool>
The loading states with tags of all handled result streams.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited