@@ -175,6 +175,8 @@ class TextFieldProperties with SerializableMixin, EquatableMixin {
175175 /// Maximum lines of text that appear at a time.
176176 late int ? minLines;
177177
178+ late bool expands;
179+
178180 /// Defines the character that is used to obscure the text in the field.
179181 /// Defaults to '•'.
180182 late String obscuringCharacter;
@@ -194,6 +196,7 @@ class TextFieldProperties with SerializableMixin, EquatableMixin {
194196 this .obscureText = false ,
195197 this .readOnly = false ,
196198 this .showCursor = true ,
199+ this .expands = false ,
197200 this .keyboardType = TextInputTypeEnum .text,
198201 this .selectionHeightStyle = BoxHeightStyleEnum .tight,
199202 this .selectionWidthStyle = BoxWidthStyleEnum .tight,
@@ -238,6 +241,7 @@ class TextFieldProperties with SerializableMixin, EquatableMixin {
238241 String ? obscuringCharacter,
239242 StartEndProp ? inputStyle,
240243 InputDecorationModel ? decoration,
244+ bool ? expands,
241245 }) {
242246 return TextFieldProperties (
243247 autoCorrect: autoCorrect ?? this .autoCorrect,
@@ -263,6 +267,7 @@ class TextFieldProperties with SerializableMixin, EquatableMixin {
263267 obscuringCharacter: obscuringCharacter ?? this .obscuringCharacter,
264268 inputStyle: inputStyle ?? this .inputStyle,
265269 decoration: decoration ?? this .decoration,
270+ expands: expands ?? this .expands,
266271 );
267272 }
268273
@@ -297,5 +302,6 @@ class TextFieldProperties with SerializableMixin, EquatableMixin {
297302 obscuringCharacter,
298303 inputStyle,
299304 decoration,
305+ expands,
300306 ];
301307}
0 commit comments