From e695894b084c106e72f359085c79f29647c50581 Mon Sep 17 00:00:00 2001 From: mahesh jamdade Date: Thu, 12 Dec 2024 14:39:15 -0500 Subject: [PATCH] fix: #195 add maintainheight --- lib/src/input_decoration.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/src/input_decoration.dart b/lib/src/input_decoration.dart index 6f148dd..80df680 100644 --- a/lib/src/input_decoration.dart +++ b/lib/src/input_decoration.dart @@ -83,6 +83,7 @@ class SearchInputDecoration extends InputDecoration { super.suffixIcon, super.suffix, super.label, + super.maintainHintHeight, super.suffixIconColor, super.prefix, super.prefixIconColor, @@ -176,6 +177,7 @@ class SearchInputDecoration extends InputDecoration { Widget? label, TextStyle? labelStyle, String? labelText, + bool? maintainHintHeight, Widget? prefix, Widget? prefixIcon, Color? prefixIconColor, @@ -191,6 +193,7 @@ class SearchInputDecoration extends InputDecoration { String? suffixText, }) { return SearchInputDecoration( + maintainHintHeight: maintainHintHeight ?? this.maintainHintHeight, cursorColor: cursorColor ?? this.cursorColor, textCapitalization: textCapitalization ?? this.textCapitalization, searchStyle: searchStyle ?? this.searchStyle,