Skip to content

added connecting snackbar and snackbar.dart file #584

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

Closed
wants to merge 1 commit into from
Closed

added connecting snackbar and snackbar.dart file #584

wants to merge 1 commit into from

Conversation

satyam372
Copy link

Added 'snackbar.dart' file to show the snackbar. I have created this file inside widget folder and then imported it in app.dart and message_list.dart file .

working : I have used "connectivity_plus: ^5.0.2" package to implement this. This package allows developers to see the connectivity of device . This helps us to determine whether our device has active internet connection or not .

Video link:-
https://github.com/zulip/zulip-flutter/assets/112092492/911a49a4-568c-4b29-82bc-1c8d0bf5872b

@satyam372 satyam372 closed this Mar 24, 2024
@satyam372 satyam372 reopened this Mar 24, 2024
],
];
});
child: Builder(builder: (context) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update your code editors spacing to match the repo configuration. check the ReadMe File

@@ -24,8 +24,8 @@ environment:
# that by the time we want to release, these will have become stable.
# TODO: Before general release, switch to stable Flutter and Dart versions,
# or pin exact versions: https://github.com/zulip/zulip-flutter/issues/15
sdk: '>=3.4.0-256.0.dev <4.0.0'
flutter: '>=3.21.0-12.0.pre.26'
sdk: '>=3.4.0-140.0.dev <4.0.0'
Copy link
Collaborator

@Khader-1 Khader-1 Mar 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never change the sdk version in pubspec.yaml as it is configured for the whole team. refer to ReadMe

@@ -38,6 +38,7 @@ dependencies:
sdk: flutter
flutter_localizations:
sdk: flutter
fluttertoast: ^8.2.4
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned by @gnprice in the stream no need to use fluttertoast

Copy link
Collaborator

@Khader-1 Khader-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're doing good but you need to refer to the contribution guides linked in the comments.

@Khader-1
Copy link
Collaborator

Nice work but it can be improved, according to the commits discipline your commits need some restructure.

@satyam372 satyam372 closed this Mar 24, 2024
@satyam372
Copy link
Author

thankyou @Khader-1 for your feedback . appreciated your inputs and i will definetly work on it

@gnprice
Copy link
Member

gnprice commented Mar 25, 2024

Thanks @Khader-1 for the initial review! And thanks @satyam372 for the contribution.

For cross-reference: it looks like this started as #583 and then became #586.

@satyam372 For future pull requests, it's better to update the existing PR than to close it and open a new one. See https://zulip.readthedocs.io/en/latest/git/pull-requests.html#update-a-pull-request .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants