Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit f90d382

Browse files
authored
Merge pull request #18 from Flyclops/issues/17
bump dart to 3.7 so we can upgrade extended_image to ^10.0.1
2 parents 5a26aac + 206d208 commit f90d382

4 files changed

Lines changed: 12 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.0.0
2+
- chore: bump minimum Dart SDK version to 3.7
3+
- chore: bump `extended_image` to `^10.0.1`
4+
- chore: bump `provider` to `^6.1.5+1`
5+
16
## 0.1.2
27

38
- fix: the endless loop can still happen if you switch between tabs quickly and time it perfectly while still loading gifs.

example/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ EXTERNAL SOURCES:
2222
SPEC CHECKSUMS:
2323
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
2424
flutter_config: f48f0d47a284f1791aacce2687eabb3309ba7a41
25-
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
25+
path_provider_foundation: 0b743cbb62d8e47eab856f09262bb8c1ddcfe6ba
2626

2727
PODFILE CHECKSUM: 4f1c12611da7338d21589c0b2ecd6bd20b109694
2828

lib/src/components/selectable_gif.dart

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ class TenorSelectableGif extends StatelessWidget {
3434
case LoadState.loading:
3535
return AspectRatio(
3636
aspectRatio: mediaObject.dimensions.aspectRatio,
37-
child: Container(
38-
color: backgroundColor,
39-
),
37+
child: Container(color: backgroundColor),
4038
);
4139
case LoadState.completed:
4240
return AspectRatio(
@@ -49,16 +47,7 @@ class TenorSelectableGif extends StatelessWidget {
4947
case LoadState.failed:
5048
return AspectRatio(
5149
aspectRatio: mediaObject.dimensions.aspectRatio,
52-
child: Container(
53-
color: backgroundColor,
54-
),
55-
);
56-
default:
57-
return AspectRatio(
58-
aspectRatio: mediaObject.dimensions.aspectRatio,
59-
child: Container(
60-
color: backgroundColor,
61-
),
50+
child: Container(color: backgroundColor),
6251
);
6352
}
6453
},

pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: tenor_flutter
2-
version: 0.1.2
2+
version: 1.0.0
33
description: An opinionated yet customizable Flutter package for searching and selecting from a list of GIFs/Stickers from the Tenor GIF search API.
44
homepage: https://github.com/flyclops
55
repository: https://github.com/flyclops/tenor_flutter
@@ -8,14 +8,14 @@ topics:
88
- tenor
99

1010
environment:
11-
sdk: ">=2.17.0 <4.0.0"
11+
sdk: ">=3.7.0 <4.0.0"
1212

1313
dependencies:
1414
flutter:
1515
sdk: flutter
16-
provider: ^6.1.2
16+
provider: ^6.1.5+1
1717
flutter_staggered_grid_view: ^0.7.0
18-
extended_image: ^8.3.1
18+
extended_image: ^10.0.1
1919
tenor_dart: ^0.0.4
2020

2121
dev_dependencies:

0 commit comments

Comments
 (0)