medium10 pts · first answer countscross-platform-mobilereact-nativeresponsive-layout
Layout ignores device rotation
A component computes column count from `Dimensions.get('window').width` at module level. After rotating the phone, the layout does not change. What is a better approach?
Discussion 0
Join free to post in the discussion.
Related questions
- Why list items need keysMobile App Developer
- Calling setCount twiceMobile App Developer
- Dart final versus constMobile App Developer
- What a BuildContext isMobile App Developer
- Reading the screen widthMobile App Developer
- Expanded inside a RowMobile App Developer
- ListView.builder for a long feedMobile App Developer
- Role of pubspec.yamlMobile App Developer