Loading topic
pubspec.yaml. A file in your project folder is not bundled just because it exists. This chapter covers the assets: list: its syntax, how a file entry differs from a folder entry, and the errors that come from getting it wrong.8 min readpubspec.yaml. It assumes you can write basic Dart, build a simple widget tree, edit pubspec.yaml and run flutter pub get, and keep YAML indentation correct. It also assumes you have already declared assets, as cover8 min readpubspec.yaml, load an image with Image.asset, and know that devicePixelRatio describes how many physical pixels make up one logical pixel. It covers how Flutter picks among several copies of one image, how those copies affect displayed size, and t8 min readpubspec.yaml, run flutter pub get, and restarted the app. The family used here is Raleway, with regular, bold, and italic files. You should be comfortable reading a Flutter widget tree and know what BuildContext is.7 min readpubspec.yaml and apply it with fontFamily. It also assumes you are comfortable with YAML indentation and with running flutter pub get. If any of that is unfamiliar, review7 min readpubspec.yaml, run flutter pub get, and read a basic widget tree. It also assumes you have seen the earlier chapters on declaring assets, loading them with Image.asset and rootBundle, and registering font families. Here you learn to find out why a declared as7 min readpubspec.yaml, load them with Image.asset and rootBundle, and build a release app from the command line. It also assumes you know the 2.0x/3.0x variant layout from earlier chapters. Here the question is what those declarations cost, how t9 min read