Skip to content

Commit f8890b5

Browse files
committed
Remove expands prop from TextField.
1 parent 23524f7 commit f8890b5

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

lib/src/api/nodes/text_field_node.dart

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,6 @@ class TextFieldProperties with SerializableMixin, EquatableMixin {
179179
/// Maximum lines of text that appear at a time.
180180
late int? minLines;
181181

182-
/// Whether the field expands to fill the available space vertically.
183-
late bool expands;
184-
185182
/// Defines the character that is used to obscure the text in the field.
186183
/// Defaults to '•'.
187184
late String obscuringCharacter;
@@ -201,7 +198,6 @@ class TextFieldProperties with SerializableMixin, EquatableMixin {
201198
this.obscureText = false,
202199
this.readOnly = false,
203200
this.showCursor = true,
204-
this.expands = false,
205201
this.keyboardType = TextInputTypeEnum.text,
206202
this.selectionHeightStyle = BoxHeightStyleEnum.tight,
207203
this.selectionWidthStyle = BoxWidthStyleEnum.tight,
@@ -272,7 +268,6 @@ class TextFieldProperties with SerializableMixin, EquatableMixin {
272268
obscuringCharacter: obscuringCharacter ?? this.obscuringCharacter,
273269
inputStyle: inputStyle ?? this.inputStyle,
274270
decoration: decoration ?? this.decoration,
275-
expands: expands ?? this.expands,
276271
);
277272
}
278273

@@ -307,6 +302,5 @@ class TextFieldProperties with SerializableMixin, EquatableMixin {
307302
obscuringCharacter,
308303
inputStyle,
309304
decoration,
310-
expands,
311305
];
312306
}

lib/src/api/nodes/text_field_node.g.dart

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)