Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading flutter to the latest stable version v3.16.0 #2140

Merged
merged 12 commits into from
Nov 26, 2023
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
8 changes: 4 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
java-version: '12.0'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'
flutter-version: '3.16.0'
channel: 'stable' # or: 'beta', 'dev' or 'master'
- name: Set default branch.
run: git remote set-head origin --auto
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
java-version: '12.0'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'
flutter-version: '3.16.0'
channel: 'stable' # or: 'beta', 'dev' or 'master'
- name: Running pub get to fetch dependencies
run: flutter pub get
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
java-version: '12.0'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'
flutter-version: '3.16.0'
channel: 'stable' # or: 'beta', 'dev' or 'master'
- name: Running pub get to fetch dependencies
run: flutter pub get
Expand All @@ -152,7 +152,7 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'
flutter-version: '3.16.0'
channel: 'stable' # or: 'beta', 'dev' or 'master'
architecture: x64
- name: Building for ios
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
java-version: '12.0'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'
flutter-version: '3.16.0'
channel: 'stable' # or: 'beta', 'dev' or 'master'
- name: Running pub get in talawa_lint
run: cd talawa_lint && flutter pub get && cd ..
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
java-version: '12.0'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'
flutter-version: '3.16.0'
channel: 'stable'
- uses: dart-lang/setup-dart@v1
with:
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
java-version: '12.0'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'
flutter-version: '3.16.0'
channel: 'stable' # or: 'beta', 'dev' or 'master'
- name: Running pub get in talawa_lint
run: cd talawa_lint && flutter pub get && cd ..
Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:
java-version: '12.0'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'
flutter-version: '3.16.0'
channel: 'stable' # or: 'beta', 'dev' or 'master'
- name: Running pub get in talawa_lint
run: cd talawa_lint && flutter pub get && cd ..
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'
flutter-version: '3.16.0'
channel: 'stable' # or: 'beta', 'dev' or 'master'
architecture: x64
- name: Building for ios
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@
Future<String> convertToBase64(File file) async {
try {
final List<int> bytes = await file.readAsBytes();
String base64String = base64Encode(bytes);
base64String = base64String;
final String base64String = base64Encode(bytes);

Check warning on line 113 in lib/view_model/after_auth_view_models/add_post_view_models/add_post_view_model.dart

View check run for this annotation

Codecov / codecov/patch

lib/view_model/after_auth_view_models/add_post_view_models/add_post_view_model.dart#L113

Added line #L113 was not covered by tests
print(base64String);
_imageInBase64 = base64String;
return base64String;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@
Future<String> convertToBase64(File file) async {
try {
final List<int> bytes = await file.readAsBytes();
String base64String = base64Encode(bytes);
base64String = base64String;
final String base64String = base64Encode(bytes);

Check warning on line 76 in lib/view_model/after_auth_view_models/profile_view_models/edit_profile_view_model.dart

View check run for this annotation

Codecov / codecov/patch

lib/view_model/after_auth_view_models/profile_view_models/edit_profile_view_model.dart#L76

Added line #L76 was not covered by tests
print(base64String);
imageFile = base64String as File?;
return base64String;
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/pinned_post.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class PinnedPost extends StatelessWidget {
return Container(
child: pinnedPosts.isNotEmpty
? SizedBox(
height: SizeConfig.screenHeight! * 0.25,
height: SizeConfig.screenHeight! * 0.28,
child: ListView.builder(
itemCount: pinnedPosts.length,
shrinkWrap: true,
Expand Down
Loading
Loading