Adjusting Apps for Different Screen Size & Platforms

12/7 131-135

how to lock the device orientation

services.dart - Platform services exposed to Flutter apps.

ensureInitialized - initialize the binding to ensure it works in consecutive way as intended.

Untitled

Update UI up to available space

// expenses.dart

*final* *width* *=* MediaQuery.of(*context*).*size*.*width*;

When rotating, flutter rebuilds the component automatically.