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

View File

@@ -16,21 +16,21 @@ dependencies:
flutter_secure_storage: ^9.2.2 flutter_secure_storage: ^9.2.2
flutter_bloc: ^8.1.6 flutter_bloc: ^8.1.6
cached_network_image: ^3.4.1 cached_network_image: ^3.4.1
flutter_svg: ^2.0.10 flutter_svg: ^2.0.10+1
equatable: ^2.0.5 equatable: ^2.0.5
freezed_annotation: ^2.4.4 freezed_annotation: ^2.4.4
json_annotation: ^4.9.0 json_annotation: ^4.9.0
validators: ^3.0.0 validators: ^3.0.0
path_provider: ^2.1.4 path_provider: ^2.1.4
fl_chart: ^0.68.0 fl_chart: ^0.69.0
flutter_spinkit: ^5.2.1 flutter_spinkit: ^5.2.1
carousel_slider_plus: ^7.0.0 carousel_slider_plus: ^7.0.1
flutter_form_builder: ^9.3.0 flutter_form_builder: ^9.4.1
image_picker: ^1.1.2 image_picker: ^1.1.2
flutter_typeahead: ^5.2.0 flutter_typeahead: ^5.2.0
go_router: ^14.2.6 go_router: ^14.2.7
keyboard_dismisser: ^3.0.0 keyboard_dismisser: ^3.0.0
retrofit: ^4.2.0 retrofit: ^4.4.1
get_it: ^7.7.0 get_it: ^7.7.0
dio: ^5.7.0 dio: ^5.7.0
dart_pusher_channels: ^1.2.3 dart_pusher_channels: ^1.2.3
@@ -44,10 +44,10 @@ dependencies:
syncfusion_flutter_charts: ^26.2.14 syncfusion_flutter_charts: ^26.2.14
table_calendar: ^3.1.2 table_calendar: ^3.1.2
flutter_keyboard_visibility: ^6.0.0 flutter_keyboard_visibility: ^6.0.0
share_plus: ^10.0.0 share_plus: ^10.0.2
flutter_html: 3.0.0-beta.2 flutter_html: ^3.0.0-beta.2
file_picker: ^8.1.1 file_picker: ^8.1.2
audioplayers: ^5.2.1 audioplayers: ^6.1.0
dev_dependencies: dev_dependencies:
build_runner: ^2.4.11 build_runner: ^2.4.11