twin_screen_platform_interface library
The platform layer of twin_screen.
Most apps never need this library. Import it to replace the platform in tests or to add support for another platform.
Classes
- TwinPlatformState
-
What the platform reports about the device, before it is combined with
the window size into
TwinScreenData. - TwinScreenPlatform
- Reports hinge and fold information from the host platform.
Enums
- TwinDataSource
- Where the fold information came from.
- TwinDeviceType
- The kind of hardware the app is running on.
- TwinPosture
- The physical state of the hinge.