diff --git a/lib/presentation/search/widgets/searched_result.dart b/lib/presentation/search/widgets/searched_result.dart index 3cca385..0bcde96 100644 --- a/lib/presentation/search/widgets/searched_result.dart +++ b/lib/presentation/search/widgets/searched_result.dart @@ -45,15 +45,17 @@ class SearchedResult extends StatelessWidget { .read() .add(const BottomNavItemPressed(index: 3)); }, - leading: SizedBox( - width: 35.r, - child: CachedNetworkImage( - cacheKey: result.id, - imageUrl: (result.picture ?? '').isEmpty - ? UserUtil.picture - : result.picture!, - errorWidget: (context, url, error) => - const CircularProgressIndicator(), + leading: ClipOval( + child: SizedBox( + width: 35.r, + child: CachedNetworkImage( + cacheKey: result.id, + imageUrl: (result.picture ?? '').isEmpty + ? UserUtil.picture + : result.picture!, + errorWidget: (context, url, error) => + const CircularProgressIndicator(), + ), ), ), title: Text( diff --git a/pubspec.lock b/pubspec.lock index 7e624bc..2e7ef20 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -14,7 +14,7 @@ packages: name: _flutterfire_internals url: "https://pub.dartlang.org" source: hosted - version: "1.0.5" + version: "1.0.9" analyzer: dependency: transitive description: @@ -28,7 +28,7 @@ packages: name: archive url: "https://pub.dartlang.org" source: hosted - version: "3.3.2" + version: "3.3.4" args: dependency: transitive description: @@ -105,7 +105,7 @@ packages: name: build_runner_core url: "https://pub.dartlang.org" source: hosted - version: "7.2.6" + version: "7.2.7" built_collection: dependency: transitive description: @@ -119,7 +119,7 @@ packages: name: built_value url: "https://pub.dartlang.org" source: hosted - version: "8.4.1" + version: "8.4.2" cached_network_image: dependency: "direct main" description: @@ -196,14 +196,14 @@ packages: name: cloud_firestore_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "5.8.2" + version: "5.9.0" cloud_firestore_web: dependency: transitive description: name: cloud_firestore_web url: "https://pub.dartlang.org" source: hosted - version: "3.0.2" + version: "3.1.0" code_builder: dependency: transitive description: @@ -322,77 +322,77 @@ packages: name: firebase_core url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.3.0" firebase_core_platform_interface: dependency: transitive description: name: firebase_core_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "4.5.1" + version: "4.5.2" firebase_core_web: dependency: transitive description: name: firebase_core_web url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.1" firebase_crashlytics: dependency: "direct main" description: name: firebase_crashlytics url: "https://pub.dartlang.org" source: hosted - version: "3.0.2" + version: "3.0.6" firebase_crashlytics_platform_interface: dependency: transitive description: name: firebase_crashlytics_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "3.3.3" + version: "3.3.7" firebase_messaging: dependency: "direct main" description: name: firebase_messaging url: "https://pub.dartlang.org" source: hosted - version: "14.0.2" + version: "14.1.1" firebase_messaging_platform_interface: dependency: transitive description: name: firebase_messaging_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "4.2.3" + version: "4.2.7" firebase_messaging_web: dependency: transitive description: name: firebase_messaging_web url: "https://pub.dartlang.org" source: hosted - version: "3.2.3" + version: "3.2.7" firebase_remote_config: dependency: "direct main" description: name: firebase_remote_config url: "https://pub.dartlang.org" source: hosted - version: "3.0.2" + version: "3.0.6" firebase_remote_config_platform_interface: dependency: transitive description: name: firebase_remote_config_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.1.22" + version: "1.1.26" firebase_remote_config_web: dependency: transitive description: name: firebase_remote_config_web url: "https://pub.dartlang.org" source: hosted - version: "1.1.11" + version: "1.1.15" fixnum: dependency: transitive description: @@ -488,7 +488,7 @@ packages: name: flutter_local_notifications url: "https://pub.dartlang.org" source: hosted - version: "12.0.2" + version: "12.0.3+1" flutter_local_notifications_linux: dependency: transitive description: @@ -509,7 +509,7 @@ packages: name: flutter_native_splash url: "https://pub.dartlang.org" source: hosted - version: "2.2.11" + version: "2.2.14" flutter_native_timezone: dependency: "direct main" description: @@ -530,14 +530,14 @@ packages: name: flutter_screenutil url: "https://pub.dartlang.org" source: hosted - version: "5.5.4" + version: "5.6.0" flutter_svg: dependency: "direct main" description: name: flutter_svg url: "https://pub.dartlang.org" source: hosted - version: "1.1.5" + version: "1.1.6" flutter_svg_provider: dependency: "direct main" description: @@ -603,7 +603,7 @@ packages: name: glob url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.1.1" graphs: dependency: transitive description: @@ -673,21 +673,21 @@ packages: name: image_cropper url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.0.1" image_cropper_for_web: dependency: transitive description: name: image_cropper_for_web url: "https://pub.dartlang.org" source: hosted - version: "1.0.2" + version: "1.0.3" image_cropper_platform_interface: dependency: transitive description: name: image_cropper_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "3.0.2" + version: "3.0.3" image_picker: dependency: "direct main" description: @@ -757,7 +757,7 @@ packages: name: json_serializable url: "https://pub.dartlang.org" source: hosted - version: "6.5.3" + version: "6.5.4" lints: dependency: transitive description: @@ -841,7 +841,7 @@ packages: name: package_info_plus url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.0.2" package_info_plus_platform_interface: dependency: transitive description: @@ -883,7 +883,7 @@ packages: name: path_provider_android url: "https://pub.dartlang.org" source: hosted - version: "2.0.20" + version: "2.0.21" path_provider_ios: dependency: transitive description: @@ -932,7 +932,7 @@ packages: name: petitparser url: "https://pub.dartlang.org" source: hosted - version: "5.0.0" + version: "5.1.0" platform: dependency: transitive description: @@ -947,6 +947,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.1.3" + pointycastle: + dependency: transitive + description: + name: pointycastle + url: "https://pub.dartlang.org" + source: hosted + version: "3.6.2" pool: dependency: transitive description: @@ -974,7 +981,7 @@ packages: name: pub_semver url: "https://pub.dartlang.org" source: hosted - version: "2.1.2" + version: "2.1.3" pubspec_parse: dependency: transitive description: @@ -988,21 +995,21 @@ packages: name: rxdart url: "https://pub.dartlang.org" source: hosted - version: "0.27.5" + version: "0.27.7" sentry: dependency: transitive description: name: sentry url: "https://pub.dartlang.org" source: hosted - version: "6.13.1" + version: "6.16.0" sentry_flutter: dependency: "direct main" description: name: sentry_flutter url: "https://pub.dartlang.org" source: hosted - version: "6.13.1" + version: "6.16.0" shelf: dependency: transitive description: @@ -1030,7 +1037,7 @@ packages: name: shelf_web_socket url: "https://pub.dartlang.org" source: hosted - version: "1.0.2" + version: "1.0.3" sky_engine: dependency: transitive description: flutter @@ -1077,14 +1084,14 @@ packages: name: sqflite url: "https://pub.dartlang.org" source: hosted - version: "2.1.0+1" + version: "2.2.0+3" sqflite_common: dependency: transitive description: name: sqflite_common url: "https://pub.dartlang.org" source: hosted - version: "2.3.0" + version: "2.4.0+2" stack_trace: dependency: transitive description: @@ -1105,7 +1112,7 @@ packages: name: stream_transform url: "https://pub.dartlang.org" source: hosted - version: "2.0.1" + version: "2.1.0" string_scanner: dependency: transitive description: @@ -1182,7 +1189,7 @@ packages: name: uuid url: "https://pub.dartlang.org" source: hosted - version: "3.0.6" + version: "3.0.7" vector_math: dependency: transitive description: @@ -1224,7 +1231,7 @@ packages: name: win32 url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.1.1" xdg_directories: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index bf7301f..7bb754c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: Codephile. publish_to: 'none' -version: 1.0.0+19 +version: 1.0.0+20 environment: sdk: ">=2.12.0 <3.0.0"