- Fixed RECEIVER_EXPORTED exception in android SDK 34 PR
- Fix "Namespace not specified" error when upgrading to AGP 8.0 PR
- Updated readme
- Fixed contextMenuBuilder
-
Replaced
separator
andseparatorPositions
withseparatorBuilder
Property Meaning/Default separatorBuilder (_) => const SizedBox(width: 8)
- Fixed AGP 4.2<= compatibility in smart_auth
- Updated SDK constraints
- Updated default SMS code matcher regex length to 8 digits
Property | Meaning/Default |
---|---|
enableIMEPersonalizedLearning | false |
Whether to enable that the IME update personalized data such as typing history and user dictionary data. This flag only affects Android. On iOS, there is no equivalent flag.
- Fixed "TapDownDetails not match the corresponding type" on Flutter's master channel - issue
- Fixed "TapDownDetails not match the corresponding type" on Flutter's master channel - issue
- Added correct SDK constraints
- Improved readme
- Removed FocusTrapArea
- Removed ToolbarOptions
- Added contextMenuBuilder, which is replacement of ToolbarOptions
- Added onTapOutside callback, which is invoked when a tap is detected outside of the Pinput
- Fixed text selection behavior
- Fixed the case where app was crashing while reading the OTP
- Improved changelog
- Added better demo screenshots
- Added warning for FocusTrapArea issue
- Improved changelog
- Added demo screenshot for pub
- Added funding URLs
- Improved Docs
- Improved Docs
- Improved Example
- Bumped minimum Flutter SDK version to 2.0.0
- Added
Property | Meaning/Default |
---|---|
isCursorAnimationEnabled | true |
- Added
Property | Meaning/Default |
---|---|
senderPhoneNumber | null / Optional parameter for Android SMS User Consent API |
- Fixed
smsCodeMatcher
(PR)
- When this widget receives focus and is not completely visible (for example scrolled partially off the screen or overlapped by the keyboard) then it will attempt to make itself visible by scrolling a surrounding [Scrollable], if one is present. This value controls how far from the edges of a [Scrollable] the TextField will be positioned after the scroll.
Property | Meaning/Default |
---|---|
scrollPadding | EdgeInsets.all(20) |
- onCompleted mot called
- Added tests
- Fixed dart 2.17 hints
- Option to listen for multiple sms on android
Property | Meaning/Default |
---|---|
listenForMultipleSmsOnAndroid | false |
- Updated smart_auth
- Updated readme
Added
Property | Meaning/Default |
---|---|
crossAxisAlignment | CrossAxisAlignment.start |
- Fixed onClipboardFound
Added Android SMS Autofill support
Property | Meaning/Default |
---|---|
androidSmsAutofillMethod | Options to enable SMS autofill on Android |
smsCodeMatcher | Used to extract code from SMS for Android Autofill if [androidSmsAutofillMethod] is enabled |
Updated docs
Added
Property | Meaning/Default |
---|---|
Validator | To validate Pinput with or without Form |
pinputAutovalidateMode | PinputAutovalidateMode.onSubmit |
errorBuilder | To build custom error widget under the Pinput |
errorTextStyle | Standard error text style, displayed under the Pinput |
toolbarEnabled | If true, paste button will appear on longPress, doubleTap event / true |
forceErrorState | If true [errorPinTheme] will be applied and [errorText] will be displayed under the Pinput / false |
errorText | Text displayed under the Pinput if Pinput is invalid |
- Updated docs
- Added onLongPress
- Updated readme.
Sorry guys this version will break your code 💙 Introduced PinTheme class to control state of the individual pin easily, see readme's Getting Started section for examples.
- Refactored, renamed some properties.
- Added new Pinput examples
- With long press user can paste from clipboard
Old | New |
---|---|
onSubmit | onCompleted |
fieldsCount | length |
obscureText | obscuringCharacter |
obscureText | obscuringCharacter |
eachFieldHeight | PinTheme.height |
eachFieldWidth | PinTheme.width |
eachFieldConstraints | PinTheme.constraints |
disabledDecoration | PinTheme.disabledPinTheme |
followingFieldDecoration | PinTheme.followingPinTheme |
selectedFieldDecoration | PinTheme.focusedPinTheme |
submittedFieldDecoration | PinTheme.submittedPinTheme |
eachFieldMargin | PinTheme.margin |
eachFieldPadding | PinTheme.padding |
🔥🚀 Merged PRs and Fixed common issues
🔥🚀 Now PinPut supports custom numpad.(See demos)
Added checkClipboard
property
🔥🚀 Migrated to Null safety
🔥🚀 Updated Example, Increased package version to 1.0.0
in order to make it more trustful
🔥🚀 Added cursor
, preFilledWidget
, mainAxisSize
and autovalidateMode
properties.
🔥🚀 Added fake cursor
, separatorPositions
, separator
and optimized project with the help of
community. credits to @furaiev, @Holofox
,
🔥🚀 Fixed Focus problems. Updated readme.
🔥🚀 Fixed Focus on click after back button click
🔥🚀 Fixed Demo urls
🔥🚀 Minor fixes and demos
🔥🚀 Added some useful Documentation
🔥🚀 Breaking changes, changed widget building logic so now it supports:
- Backspace on keyboard
- Every pixel customization
- Nice animations
- Form validation
- Ios auto fill · testing needed
👍 With the help of community: @xportation
- Added Set autofocus on the first field when the attribute is defined|
- Added
Property | Default/Meaning |
---|---|
onClear | Clear button callback |
👍 With the help of community: @datvo0110, @almeynman
- Fixed minor bugs
- Added
Property | Default/Meaning |
---|---|
containerHeight | 100.0 |
👍 With the help of community: @datvo0110, @mwgriffiths88, @inromualdo
- Fixed minor bugs, check clipboard when app is resumed...
- Added Properties ability to hide keyboard & custumize more
Property | Default/Meaning |
---|---|
textCapitalization | TextCapitalization.none |
- Added Properties ability to hide keyboard & custumize more
Property | Default/Meaning |
---|---|
clearButtonIcon | Icon(Icons.backspace, size: 30) |
pasteButtonIcon | Icon(Icons.content_paste, size: 30) |
unFocusWhen | Default is False, True to hide keyboard |
textStyle | TextStyle(fontSize: 30) |
spaceBetween | space between fields Default: 10.0 |
inputDecoration | Ability to style field's border, padding etc... |
- Added Copy From Clipboard functionality if copied text length is equal to fields count
Property | Default |
---|---|
pasteButtonIcon | Icons.content_paste |
*Note that
clearButtonEnabled will change with actionButtonEnabled in next release, right now if it is true both clear and paste functionality works
- Added
Property | Default |
---|---|
autoFocus | true |
- Minor fixes
- Transformed plugin to MVVM pattern
- Fixed onSubmit call when all fields aren't filled
- Updated Demo
- Added
Property | Default |
---|---|
clearButtonIcon | Icons.backspace |
clearButtonEnabled | true |
clearButtonColor | 0xFF66BB6A |
- Added
Property | Default |
---|---|
borderRadius | 5.0 |
keybaordType | number |
keyboardAction | next |
- Added
Property | Default |
---|---|
onSubmit | Function |
fieldsCount | 4 |
isTextObscure | false |
fontSize | 40.0 |
- Initial release, working base functionality