From 23dd3f4a115b3f36cbf1b90fa2572cee4cbb0c7a Mon Sep 17 00:00:00 2001 From: mso7nueh Date: Wed, 11 Sep 2024 13:08:00 +0300 Subject: [PATCH] fix: fix chat search bar clear button, upgrade packages --- .../widgets/chat_search_bar_widget.dart | 6 +----- pubspec.yaml | 20 +++++++++---------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/lib/features/chat/presentation/widgets/chat_search_bar_widget.dart b/lib/features/chat/presentation/widgets/chat_search_bar_widget.dart index 4889fdfd..955e697f 100644 --- a/lib/features/chat/presentation/widgets/chat_search_bar_widget.dart +++ b/lib/features/chat/presentation/widgets/chat_search_bar_widget.dart @@ -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, diff --git a/pubspec.yaml b/pubspec.yaml index 491588d1..b894118d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,21 +16,21 @@ dependencies: flutter_secure_storage: ^9.2.2 flutter_bloc: ^8.1.6 cached_network_image: ^3.4.1 - flutter_svg: ^2.0.10 + flutter_svg: ^2.0.10+1 equatable: ^2.0.5 freezed_annotation: ^2.4.4 json_annotation: ^4.9.0 validators: ^3.0.0 path_provider: ^2.1.4 - fl_chart: ^0.68.0 + fl_chart: ^0.69.0 flutter_spinkit: ^5.2.1 - carousel_slider_plus: ^7.0.0 - flutter_form_builder: ^9.3.0 + carousel_slider_plus: ^7.0.1 + flutter_form_builder: ^9.4.1 image_picker: ^1.1.2 flutter_typeahead: ^5.2.0 - go_router: ^14.2.6 + go_router: ^14.2.7 keyboard_dismisser: ^3.0.0 - retrofit: ^4.2.0 + retrofit: ^4.4.1 get_it: ^7.7.0 dio: ^5.7.0 dart_pusher_channels: ^1.2.3 @@ -44,10 +44,10 @@ dependencies: syncfusion_flutter_charts: ^26.2.14 table_calendar: ^3.1.2 flutter_keyboard_visibility: ^6.0.0 - share_plus: ^10.0.0 - flutter_html: 3.0.0-beta.2 - file_picker: ^8.1.1 - audioplayers: ^5.2.1 + share_plus: ^10.0.2 + flutter_html: ^3.0.0-beta.2 + file_picker: ^8.1.2 + audioplayers: ^6.1.0 dev_dependencies: build_runner: ^2.4.11