pinput library
Flutter package to create easily customizable Pin code input field, that your designers can't even draw in Figma ðŸ¤
Classes
- PinItemState
- A class that represents the state of a pin item.
- Pinput
- Flutter package to create easily customizable Pin code input field, that your designers can't even draw in Figma ðŸ¤
- PinputConstants
- The constant values for Pinput
- PinTheme
- Theme of the individual pin items for following states: default, focused pin, submitted pin, following pin, disabled pin and error pin
- SmsRetriever
- An interface for retrieving sms code. Used for SMS autofill. You, as a developer should implement this interface.
Enums
- AndroidSmsAutofillMethod
- The method that is used to get the sms code on Android
- HapticFeedbackType
- The vibration type when user types
- PinAnimationType
- The animation type if Pin item
- PinItemStateType
- An enum that represents the state of a pin item.
- PinputAutovalidateMode
- The mode which determines the Pinput validation method
Extensions
- PinputControllerExt on TextEditingController
- Helper methods for Pinput to easily set, delete, append the value programmatically
Typedefs
- JustIndexedWidgetBuilder = Widget Function(int index)
- Signature for a function that creates a widget for a given index, e.g., in a list.
- PinItemWidgetBuilder = Widget Function(BuildContext context, PinItemState pinItemBuilderState)
- A widget builder that represents a single pin field.
- PinputErrorBuilder = Widget Function(String? errorText, String pin)
- Error widget builder of Pinput