Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
flutter_config: f48f0d47a284f1791aacce2687eabb3309ba7a41
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
path_provider_foundation: 0b743cbb62d8e47eab856f09262bb8c1ddcfe6ba

PODFILE CHECKSUM: 4f1c12611da7338d21589c0b2ecd6bd20b109694

Expand Down
15 changes: 2 additions & 13 deletions lib/src/components/selectable_gif.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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),
);
}
},
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand Down