Skip to content

Commit

Permalink
Updated docs and changed version to 2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
adar2378 committed Apr 11, 2020
1 parent 90c9dd8 commit e214270
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[2.5.1] Documentation update

## [2.5.0]

Better Performance overall
Expand Down
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ A flutter package which will help you to generate pin code fields with beautiful
/// returns the typed text when all pins are set
final ValueChanged<String> onCompleted;
/// returns the typed text when user presses done/next action on the keyboard
final ValueChanged<String> onSubmitted;
/// this defines the shape of the input fields. Default is underlined
final PinCodeFieldShape shape;
Expand Down Expand Up @@ -103,12 +106,12 @@ A flutter package which will help you to generate pin code fields with beautiful
/// content of the [AlertDialog] while pasting the code. Default to ["Do you want to paste this code "]
final String dialogContent;
/// Affirmative action text for the [AlertDialog]. Default to "Paste"
/// Affirmative action text for the [AlertDialog]. Default to "Paste"
final String affirmativeText;
/// Negative action text for the [AlertDialog]. Default to "Cancel"
final String negativeText;
/// [TextEditingController] to control the text manually. Sets a default [TextEditingController()] object if none given
final TextEditingController controller;
Expand All @@ -124,9 +127,20 @@ A flutter package which will help you to generate pin code fields with beautiful
/// Colors of the input fields which don't have inputs. Default is [Colors.red]
final Color inactiveFillColor;
/// Auto dismiss the keyboard upon inputting the value for the last field. Default is [true]
final bool autoDismissKeyboard;
/// Auto dispose the [controller] and [FocusNode] upon the destruction of widget from the widget tree. Default is [true]
final bool autoDisposeControllers;
/// Configures how the platform keyboard will select an uppercase or lowercase keyboard.
/// Only supports text keyboards, other keyboard types will ignore this configuration. Capitalization is locale-aware.
/// - Copied from 'https://api.flutter.dev/flutter/services/TextCapitalization-class.html'
/// Default is [TextCapitalization.none]
final TextCapitalization textCapitalization;
final TextInputAction textInputAction;
/// Triggers the error animation
final StreamController<ErrorAnimationType> errorAnimationController;
```
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.5.0"
version: "2.5.1"
quiver:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: pin_code_fields
description: A flutter package which will help you to generate pin code fields. Can be useful for OTP for example.
version: 2.5.0
version: 2.5.1
homepage: https://github.com/adar2378
repository: https://github.com/adar2378/pin_code_fields

Expand Down

0 comments on commit e214270

Please sign in to comment.