New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App is crashing while fecthing the images #111017
Comments
This is the Additional information and the output of 'flutter doctor -v' flutter doctor -v
|
Hi @venkateshavenki, please provide a complete minimal reproducible code sample along with the full crash log and steps to reproduce. Please also provide your pubspec.yaml & pubspec.lock Also, what platform are you experiencing this crash on? Thank you |
Hi @danagbemava-nc, Thanks for the replay. For displaying images I am using the below code because of CachedNetworkImage app is crashing. CachedNetworkImage(
fit: isCover! ? BoxFit.cover : BoxFit.fitHeight,
imageUrl: url! ,
imageBuilder: (context, imageProvider) => Container(
decoration: BoxDecoration(
image: DecorationImage(image: imageProvider, fit: BoxFit.cover),
),
),
placeholder: (context, url) => const Center(
child: CircularProgressIndicator(
strokeWidth: 2.0,
)),
errorWidget: (context, url, error) => const Icon(Icons.error),
fadeOutDuration: const Duration(seconds: 0),
fadeInDuration: const Duration(seconds: 0),
); |
Pubspec.yamlname: Flutter project
description: A new Flutter project.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 14.0.0+14
environment:
sdk: ">=2.12.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
file_picker: ^4.2.4
retrofit: ^3.0.0
dio: ^4.0.4
intl: ^0.17.0
http: ^0.13.4
shared_preferences: ^2.0.9
auto_size_text: ^3.0.0
persistent_bottom_nav_bar: ^4.0.2
flash: ^2.0.3
image_picker: ^0.8.4+11
json_annotation: ^4.3.0
firebase: ^9.0.2
mixpanel_flutter: ^1.3.1
firebase_remote_config: ^0.11.0+2
firebase_analytics: ^8.3.4
flutter_svg: ^1.0.0
flutter_riverpod: ^1.0.0
google_fonts: ^2.1.0
flutter_secure_storage: ^5.0.2
visibility_detector: ^0.2.2
carousel_slider: ^4.0.0
marquee_widget: ^1.2.0
url_launcher: ^6.0.0-nullsafety
lazy_load_scrollview: ^1.3.0
spring: ^2.0.2
supercharged: ^2.1.1
keyboard_dismisser: ^2.0.0
device_info: ^2.0.3
pin_code_fields: ^7.3.0
video_player: ^2.2.7
chewie: ^1.2.2
google_maps_webservice: ^0.0.19
flutter_google_places: ^0.3.0
flutter_typeahead: ^3.2.3
validators: ^3.0.0
path_provider: ^2.0.7
camera: ^0.9.7
basic_utils: ^3.9.1
image_crop: ^0.4.0
smooth_page_indicator: ^1.0.0+2
socket_io_client: ^1.0.2
crop_your_image: ^0.6.0+1
swipeable_page_route: ^0.2.4
pull_to_refresh: ^2.0.0
native_device_orientation: ^1.0.0
flutter_cache_manager: ^3.3.0
cached_network_image: ^3.2.0
readmore: ^2.1.0
card_swiper: ^2.0.1
flutter_video_info: ^1.2.0
flutter_ffmpeg: ^0.4.2
receive_sharing_intent: ^1.4.5
firebase_crashlytics: ^2.5.1
exif: ^3.1.1
firebase_messaging: ^11.2.6
firebase_core: ^1.12.0
video_thumbnail: ^0.4.6
flutter_local_notifications: ^9.3.2
image_cropper: ^1.5.0
light_compressor: ^1.2.1
device_preview: ^1.0.0
contacts_service: ^0.6.3
permission_handler: ^9.2.0
draggable_scrollbar: ^0.1.0
optimized_cached_image: ^3.0.0
gallery_saver: ^2.3.2
firebase_in_app_messaging: ^0.6.0+12
flutter_exif_rotation: ^0.5.1
flutter_app_badger: ^1.4.0
flutter_background_service: ^2.1.3
photo_view: ^0.14.0
flutter_staggered_grid_view: ^0.6.2
flutter_image_compress: ^1.1.2
transparent_image: ^2.0.0
dev_dependencies:
flutter_test:
sdk: flutter
build_runner: ^2.1.5
json_serializable: ^6.0.1
retrofit_generator: ^3.0.0+2
flutter_lints: ^1.0.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
uses-material-design: true
assets:
- images/
flutter_intl:
enabled: true |
Pubspec.lock
|
Hi @venkateshavenki, I believe this is a duplicate of #110715. Kindly follow up in the linked issue for updates. Please upvote the linked issue as well. Closing from here as duplicate. Thank you |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
The text was updated successfully, but these errors were encountered: