- New:
- Support cursor with orientation and offset
- Add TextFieldTapRegion and callback
- Breaking Change
- No more support below 3.7.0
- No default decoration provided in PinInputTextField
- PinDecoration is not const
- Revert remove toolbarOptions
- Adapt to new flutter version and rename deprecated fields
- Upgrade lint version
- Fixed Cursor overriding HintText #75
- Correctly remove&add FocusNode listener #73
- Apply Analyzer and lint
- Bump Dart to 2.13
- Migrate to Null Safety
- New :
StrokeCap
for UnderlineDecoration.
- Update:
inputFormatter
replace withinputFormatters
to keep same as TextField. - Remove: Unused assert, Default inputFormatters.
- New: Cursor display #56
- Hint: Cursor would override hintText is enabled.
autofillHints
Support #51
- Fix: #46
- Breaking Change, the
color
is renamed tocolorBuilder
as well as enterColor, thesolidColor
is renamed tobgColorBuilder
- New: Support stroke color and background color change when enter new pin
- Fix: InnerRadius overlap the stroke
- Fix: Some scenarios not update the paint
- Fix: All minimize font size is the double.minPositive
- Fix: Disabled inputDecoration theme in widget
- Fix: add minimize font size 1 in web
- Fix: the interaction issue in Android Platform
- New: support
solidColor
inunderlineDecoration
- New: support copy-past pin
- New: support control
autocorrect
- Update: Default obscureText
•
- New: support
TextCapitalization
- Update: optimise directory
- Update: minimum sdk version - 2.7
- New: add built-in
CircleDecoration
- New: support customized decoration, you can draw anything you want from now!
- New: add
hintText
for allPinDecoration
. - New: custom gapSpace support for
UnderlineDecoration
andBoxLooseDecoration
.
- New: add
onChanged
parameter. - Fix: fix null controller will not work in
PinInputTextFormField
.
- Fix: fix missing first build initial value. Thanks to daniel-v
- New: add 'PinInputTextFormField' to support form validate. Thanks to rajajain08.
- Update: parameter
pinEditingController
renamed tocontroller
. - Remove: remove the
PinEditingController
class, just simply useTextEditingController
. - Fix: support dynamically changing of length & controller.
- New: allow custom
key
. - Notice: Please set the selection when you set the text programmatically.
- Fix: fix fatal error
- Update: obscure text support emoji now.
- New: add 'enable' to control pin input.
- Update: complete example
readme.md
andpubspec.yaml
.
- New: no need to correct user's input.
- New: align actual text in center to make popup window more natural.
- New: obscure mode is always on now.
- New: add
textInputAction
to control TextInputAction.
PinEditingController
constructor must provide pinLength.PinEditingController
constructor provide new fieldautoDispose
to simplify dispose.PinTextField
constructor removewidth
andheight
field, if you want customize size of thePinInputTextField
, you can wrap aContainer
widget.
- change default color of underlineDecoration from Colors.Black to Colors.cyan.
- add more detail example.
- add keyboardType & inputFormatters control.
- add autoFocus & focusNode control.
- add controller to assign pin.
- change license from MIT to Apache.
- add comment to help understand source code.
- add obscure style to be more customize.
- add onPinChanged to observe the text changed.
- add solidColor to set background color in BoxLooseDecoration & BoxTightDecoration.
- add enteredColor for UnderlineDecoration&BoxLooseDecoration.
- remove const default variable in PinInputTextField.
- fix wrong place in painting
- first commit.