diff --git a/CHANGELOG.md b/CHANGELOG.md index 0001790..479bf76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.0.0 +- chore: bump minimum Dart SDK version to 3.7 +- chore: bump `extended_image` to `^10.0.1` +- chore: bump `provider` to `^6.1.5+1` + ## 0.1.2 - fix: the endless loop can still happen if you switch between tabs quickly and time it perfectly while still loading gifs. diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index aa84219..7936eef 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -22,7 +22,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467 flutter_config: f48f0d47a284f1791aacce2687eabb3309ba7a41 - path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46 + path_provider_foundation: 0b743cbb62d8e47eab856f09262bb8c1ddcfe6ba PODFILE CHECKSUM: 4f1c12611da7338d21589c0b2ecd6bd20b109694 diff --git a/lib/src/components/selectable_gif.dart b/lib/src/components/selectable_gif.dart index 4cc759e..44bce1d 100644 --- a/lib/src/components/selectable_gif.dart +++ b/lib/src/components/selectable_gif.dart @@ -34,9 +34,7 @@ class TenorSelectableGif extends StatelessWidget { case LoadState.loading: return AspectRatio( aspectRatio: mediaObject.dimensions.aspectRatio, - child: Container( - color: backgroundColor, - ), + child: Container(color: backgroundColor), ); case LoadState.completed: return AspectRatio( @@ -49,16 +47,7 @@ class TenorSelectableGif extends StatelessWidget { case LoadState.failed: return AspectRatio( aspectRatio: mediaObject.dimensions.aspectRatio, - child: Container( - color: backgroundColor, - ), - ); - default: - return AspectRatio( - aspectRatio: mediaObject.dimensions.aspectRatio, - child: Container( - color: backgroundColor, - ), + child: Container(color: backgroundColor), ); } }, diff --git a/pubspec.yaml b/pubspec.yaml index ab110d6..07335b3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: tenor_flutter -version: 0.1.2 +version: 1.0.0 description: An opinionated yet customizable Flutter package for searching and selecting from a list of GIFs/Stickers from the Tenor GIF search API. homepage: https://github.com/flyclops repository: https://github.com/flyclops/tenor_flutter @@ -8,14 +8,14 @@ topics: - tenor environment: - sdk: ">=2.17.0 <4.0.0" + sdk: ">=3.7.0 <4.0.0" dependencies: flutter: sdk: flutter - provider: ^6.1.2 + provider: ^6.1.5+1 flutter_staggered_grid_view: ^0.7.0 - extended_image: ^8.3.1 + extended_image: ^10.0.1 tenor_dart: ^0.0.4 dev_dependencies: