Skip to content

Commit dc4cfaa

Browse files
authored
feat: bump min flutter version to 3.22.0 (#115)
* feat: bump min flutter version to 3.22.0 Signed-off-by: Sahil Kumar <[email protected]> * ci: update github action Signed-off-by: Sahil Kumar <[email protected]> --------- Signed-off-by: Sahil Kumar <[email protected]>
1 parent 0d0f53c commit dc4cfaa

8 files changed

+19
-13
lines changed

.github/workflows/giffy_dialog.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
flutter-version:
2323
# The version of Flutter to use should use the minimum Dart SDK version supported by the package,
2424
# refer to https://docs.flutter.dev/development/tools/sdk/releases.
25-
- "3.16.0"
25+
- "3.22.0"
2626
- "3.x"
2727
runs-on: ubuntu-latest
2828
steps:

CHANGELOG.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
1+
## Upcoming
2+
3+
- Bump rive version to `^0.13.10`.
4+
- Bump lottie version to `^3.1.0`.
5+
- Bump minimum Flutter version to `3.22.0`.
6+
17
## 2.2.0
28

39
- Fix `Image` is imported from both packages. [#110](https://github.com/xsahil03x/giffy_dialog/issues/110)
410

511
## 2.1.0
612

7-
- Bump rive version to ^0.13.0.
8-
- Bump lottie version to ^3.0.0.
9-
- Bump minimum Flutter version to 3.16.0.
13+
- Bump rive version to `^0.13.0`.
14+
- Bump lottie version to `^3.0.0`.
15+
- Bump minimum Flutter version to `3.16.0`.
1016

1117
## 2.0.0+2
1218

example/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ publish_to: 'none'
55
version: 1.0.0+1
66

77
environment:
8-
sdk: ^3.2.0
9-
flutter: ">=3.16.0"
8+
sdk: ^3.4.0
9+
flutter: ">=3.22.0"
1010

1111
dependencies:
1212
flutter:

lib/giffy_dialog.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library;
22

33
export 'package:lottie/lottie.dart';
4-
export 'package:rive/rive.dart';
4+
export 'package:rive/rive.dart' hide Image;
55

66
export 'src/entry_animation.dart' show EntryAnimation;
77
export 'src/giffy_modal.dart' show GiffyDialog, GiffyBottomSheet;

lib/src/giffy_bottom_sheet.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class GiffyBottomSheet extends StatelessWidget {
121121

122122
/// Creates an giffy bottom sheet which uses a [RiveAnimation] as the [giffy].
123123
const GiffyBottomSheet.rive(
124-
rive.RiveAnimation rive, {
124+
RiveAnimation rive, {
125125
super.key,
126126
this.giffyBuilder = defaultGiffyBuilder,
127127
this.giffyPadding,

lib/src/giffy_dialog.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class GiffyDialog extends StatelessWidget {
137137

138138
/// Creates a giffy dialog which uses a [RiveAnimation] as the [giffy].
139139
const GiffyDialog.rive(
140-
rive.RiveAnimation rive, {
140+
RiveAnimation rive, {
141141
super.key,
142142
this.giffyBuilder = defaultGiffyBuilder,
143143
this.giffyPadding,

lib/src/giffy_modal.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'dart:ui';
22

33
import 'package:flutter/material.dart';
44
import 'package:lottie/lottie.dart';
5-
import 'package:rive/rive.dart' as rive;
5+
import 'package:rive/rive.dart' hide Image;
66

77
import 'entry_animation.dart';
88

pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ repository: https://github.com/xsahil03x/giffy_dialog
66
issue_tracker: https://github.com/xsahil03x/giffy_dialog/issues
77

88
environment:
9-
sdk: ^3.2.0
10-
flutter: ">=3.16.0"
9+
sdk: ^3.4.0
10+
flutter: ">=3.22.0"
1111

1212
dependencies:
1313
flutter:
1414
sdk: flutter
15-
rive: ^0.13.0
15+
rive: ^0.13.10
1616
lottie: ^3.1.0
1717

1818
dev_dependencies:

0 commit comments

Comments
 (0)