widgets/common/portrait_mode_mixin library
Mixins
- PortraitModeMixin
- Forces portrait-only mode application-wide Use this Mixin on the main app widget i.e. app.Dart Flutter's 'App' has to extend Stateless widget.
-
PortraitStatefulModeMixin<
T extends StatefulWidget> - Use this Mixin in the specific screen you want to block to portrait only mode.