Skip to content

Commit

Permalink
fix: #195 add maintainheight
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshj01 committed Dec 12, 2024
1 parent 6a6c403 commit e695894
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/input_decoration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ class SearchInputDecoration extends InputDecoration {
super.suffixIcon,
super.suffix,
super.label,
super.maintainHintHeight,
super.suffixIconColor,
super.prefix,
super.prefixIconColor,
Expand Down Expand Up @@ -176,6 +177,7 @@ class SearchInputDecoration extends InputDecoration {
Widget? label,
TextStyle? labelStyle,
String? labelText,
bool? maintainHintHeight,
Widget? prefix,
Widget? prefixIcon,
Color? prefixIconColor,
Expand All @@ -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,
Expand Down

0 comments on commit e695894

Please sign in to comment.