fix: move ignore use_build_context_synchronously to correct place

This commit is contained in:
Vick Top 2024-02-26 10:50:44 +01:00 committed by Freek van de Ven
parent 14c9301d24
commit 5b5a9cc11c
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ Please file any issues, bugs or feature request as an issue on our [GitHub](http
## Want to contribute ## Want to contribute
If you would like to contribute to the plugin (e.g. by improving the documentation, solving a bug or adding a cool new feature), please carefully review our [contribution guide](../CONTRIBUTING.md) and send us your [pull request](https://github.com/Iconica-Development/flutter_media_picker/pulls). If you would like to contribute to the plugin (e.g. by improving the documentation, solving a bug or adding a cool new feature), please carefully review our [contribution guide](./CONTRIBUTING.md) and send us your [pull request](https://github.com/Iconica-Development/flutter_media_picker/pulls).
## Author ## Author

View file

@ -208,8 +208,8 @@ class _MediaPickerState extends State<MediaPicker> {
}, },
); );
// ignore: use_build_context_synchronously
Navigator.push( Navigator.push(
// ignore: use_build_context_synchronously
context, context,
MaterialPageRoute( MaterialPageRoute(
builder: (context) => checkPage, builder: (context) => checkPage,