Loading topic
async and await, Flutter widget lifecycles, pubspec.yaml, and the basic Android and iOS project folders. You will configure two plugins:2 min readasync and await, Flutter widget lifecycles, and how to add packages with pubspec.yaml. This chapter explains the file object returned by image_picker and camera.2 min readasync/await, Flutter stateful widgets, and how to add a package to pubspec.yaml. This chapter uses image_picker, which opens a system-owned gallery or camera application. It does not provide an in-app camera preview. Use the camera plugin when your own screen must cont1 min readasync and await, Flutter widgets, and how to add a package in pubspec.yaml. This chapter assumes that image_picker is already installed and platform permissions are configured.2 min readasync and await, Flutter widgets, and how to add packages to pubspec.yaml. It also assumes you have an XFile from image_picker or camera.2 min readasync and await, Flutter StatefulWidget lifecycle methods, and how to add the image_picker package. This chapter focuses on Android behavior when the system destroys your app's activity while another app, such as the gallery, is open.1 min readasync/await, Future, StatefulWidget, and how to add a package to pubspec.yaml. This chapter focuses on discovering cameras. Camera permissions and platform configuration must already be in place.1 min readasync and await, Future, and the StatefulWidget lifecycle. It also assumes the camera package is installed and that Android and iOS camera permissions are configured.2 min readasync and await, Flutter StatefulWidget lifecycle methods, and how to add packages in pubspec.yaml. It also assumes that a CameraController has been created and initialized, as described in the previous chapter.1 min readasync and await, Flutter StatefulWidget, and how to initialize a CameraController. It also assumes that the controller has been initialized before the capture button is used.1 min readasync and await, Flutter StatefulWidget lifecycle methods, and how to add the camera package. A CameraController owns a connection to a hardware camera. Your state object must release that connection when the app leaves the foreground and create it again 1 min readasync and await, Flutter StatefulWidget lifecycles, and how to add packages with pubspec.yaml. Camera and picker plugins cross a platform boundary, so errors can come from Flutter, Android, iOS, or the user.2 min readasync/await, StatefulWidget, and the basic CameraController setup from earlier chapters. The controller must be initialized before you change its flash mode, zoom level, or active camera.1 min readasync and await, Flutter StatefulWidget lifecycle methods, and how to add packages with pubspec.yaml. This chapter uses the camera package. The camera must already be discovered and initialized before recording starts.1 min readasync and await, Flutter widget tests, StatefulWidget lifecycle methods, and how to add packages with pubspec.yaml. You will test your app logic with fakes, then verify permissions and camera behavior on real devices.2 min read