card_widget: moved from Image network to cached network image #37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to improve the image handling in the
CardWidget
, update dependencies, and register new plugins. The most important changes include switching toCachedNetworkImage
for better image caching and loading, updating the constructor ofCardWidget
, and registering theSqflitePlugin
.Improvements to image handling:
src/lib/widgets/card_widget.dart
: ReplacedImage.network
withCachedNetworkImage
for better image caching and loading. Updated the error widget to useHugeIcons
.src/pubspec.yaml
: Addedcached_network_image
dependency.Codebase updates:
src/lib/widgets/card_widget.dart
: Updated the constructor docs ofCardWidget
to require areport
parameter instead of individual parameters.src/lib/gestione_segnalazione_cittadino/my_segnalazioni_gui.dart
: Fixed the indentation in theMaterialPageRoute
constructor.Plugin registration:
src/macos/Flutter/GeneratedPluginRegistrant.swift
: Registered theSqflitePlugin
. [1] [2]