Loading topic
async/await and Futures, the StatefulWidget lifecycle (initState and dispose), how to add packages in pubspec.yaml, and the basic layout of the android and ios project folders.1 min readpubspec.yaml, and have set up image_picker and camera as described earlier. You should also be comfortable with initState and dispose in a StatefulWidget.1 min readStatefulWidget lifecycle methods (initState, dispose), and the camera plugin setup from the previous chapter. The code below works inside a State class that uses the camera package.1 min read