Skip to content

Commit

Permalink
Merge pull request #131 from takenet/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
RaulRodrigo06 authored Apr 14, 2023
2 parents 2c46007 + cc52ad3 commit b9876b8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.0.47

* [DSTextFormField] Add onTap and onTapOutside on DSTextFormField.
## 0.0.46

* [DSToast] Toast layout adjustment.
Expand Down
6 changes: 6 additions & 0 deletions lib/src/widgets/fields/ds_text_form_field.widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class DSTextFormField extends StatelessWidget {
required this.hint,
required this.onChanged,
this.textInputAction = TextInputAction.send,
this.onTap,
this.onTapOutside,
this.maxLines,
this.textCapitalization = TextCapitalization.sentences,
this.showEmojiButton = false,
Expand All @@ -24,6 +26,8 @@ class DSTextFormField extends StatelessWidget {
final String hint;
final void Function(String) onChanged;
final TextInputAction textInputAction;
final VoidCallback? onTap;
final void Function(PointerDownEvent)? onTapOutside;
final int? maxLines;
final TextCapitalization textCapitalization;
final bool showEmojiButton;
Expand Down Expand Up @@ -83,6 +87,8 @@ class DSTextFormField extends StatelessWidget {
maxLines: obscureText ? 1 : maxLines,
onChanged: onChanged,
focusNode: focusNode,
onTap: onTap,
onTapOutside: onTapOutside,
),
),
),
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: blip_ds
description: Blip Design System for Flutter.
version: 0.0.46
version: 0.0.47
homepage: https://github.com/takenet/blip-ds-flutter#readme
repository: https://github.com/takenet/blip-ds-flutter

Expand Down

0 comments on commit b9876b8

Please sign in to comment.