Loading topic
pubspec.yaml. You should also be comfortable using the command line and understand asynchronous Dart code.2 min readpubspec.yaml, and use basic Dart and Flutter commands. You should also know that Flutter supports debug, profile, and release build modes.3 min readpubspec.yaml, and distinguish debug, profile, and release modes. This chapter focuses on measuring Android app size before deciding what to remove or replace.2 min readpubspec.yaml, and use basic Dart. The goal is to reduce shipped bytes without lowering the visual quality that users need.2 min readpubspec.yaml, and distinguish direct dependencies from transitive dependencies. This chapter focuses on measuring the cost of packages before deciding whether to keep, replace, or remove them.2 min readasync and await, and how to build a Flutter app. Deferred loading is useful when an app has features that most users do not open during startup, such as reports, administration, help, or advanced editing.2 min readrunApp, widgets, asynchronous code, and the difference between debug, profile, and release modes. It also assumes that you can run Flutter commands from a terminal.2 min readasync code, and know the difference between debug, profile, and release modes. This chapter uses profile mode because it provides performance data that is closer to release mode while keeping debugging and timeline tools avail2 min readasync and await, and how to run an app from the command line. It also assumes that you have measured startup in profile mode, as described earlier.2 min readasync and await, and run commands with the flutter tool. It also assumes that you understand that Flutter normally builds widgets and handles input on one UI isolate.2 min readasync and await, and recognize the difference between work done by the operating system and work done by Flutter. The goal is to improve the time users perceive, not only the measured time to the first Flutter frame.2 min readpubspec.yaml, and use basic asynchronous Dart code. This chapter focuses on repeatable checks, not on finding the first optimization.2 min read