fix: fix chat search bar clear button, upgrade packages

This commit is contained in:
mso7nueh
2024-09-11 13:08:00 +03:00
parent a7f8c39030
commit 23dd3f4a11
2 changed files with 11 additions and 15 deletions

View File

@@ -78,7 +78,7 @@ class ChatSearchBarWidget extends StatelessWidget {
}
searchViewWidget(BuildContext context) => SizedBox(
width: width ?? double.maxFinite,
width: width ?? MediaQuery.of(context).size.width,
child: TextFormField(
controller: controller,
focusNode: focusNode,
@@ -123,10 +123,6 @@ class ChatSearchBarWidget extends StatelessWidget {
color: Colors.grey.shade600,
),
),
suffixIconConstraints: suffixConstraints ??
BoxConstraints(
maxHeight: 40.v,
),
isDense: true,
contentPadding: EdgeInsets.all(16),
fillColor: fillColor ?? appTheme.gray100,