Vipul Asri, thank you for the feedback and sharing the stack overflow page. Maybe I will write a follow-up article in the future that addresses a case where users want to display images based on their ratio, rather than cropping them.
Enjoyed reading this article. Cloned the repo and app runs as expected. However, I encountered an issue in the path qr.flutter > example > lib > screens > main.screen.dart:
In Android Studio, this import statement says “URI does not exist”. What’s strange is…
Hi Nash, thanks for linking to your github repository. The code here is significantly different from what you cited in your article. I was able to boot up the application just fine and the data binding works. Thanks for those working examples of how to refactor stateless widgets as stateful.
Thank you for this walk through!
I noticed that there seem to be several formatting errors throughout this article that I hope you can clarify:
On your “page2.dart” template, there should be a second parenthesis to close the RaisedButton.