Skip to content

Commit

Permalink
Adding textAlignVertical on the date-time form builder
Browse files Browse the repository at this point in the history
  • Loading branch information
arguswaikhom committed Sep 17, 2022
1 parent 9348c10 commit 6380d4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/fields/form_builder_date_time_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class FormBuilderDateTimePicker extends FormBuilderField<DateTime> {
final TextInputType keyboardType;
final TextStyle? style;
final TextAlign textAlign;
final TextAlignVertical? textAlignVertical;

/// Preset the widget's value.
final bool autofocus;
Expand Down Expand Up @@ -166,6 +167,7 @@ class FormBuilderDateTimePicker extends FormBuilderField<DateTime> {
this.locale,
this.maxLength,
this.textDirection,
this.textAlignVertical,
this.onFieldSubmitted,
this.controller,
this.style,
Expand Down Expand Up @@ -210,6 +212,7 @@ class FormBuilderDateTimePicker extends FormBuilderField<DateTime> {
return TextField(
textDirection: textDirection,
textAlign: textAlign,
textAlignVertical: textAlignVertical,
maxLength: maxLength,
autofocus: autofocus,
decoration: state.decoration,
Expand Down

0 comments on commit 6380d4b

Please sign in to comment.