Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 439 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 439 Bytes

codlab4

One more thing. Device rotations! Let me introduce a widget that can handle it - OrientationBuilder

OrientationBuilder( builder: (context, orientation) { if (orientation == Orientation.portrait) { return Text('portrait'); } else { return Text('lanscape'); } }, ); And your homework will extend WeatherContainer widget and render it in landscape orientation: homework