shared/utils/platform_info library

Properties

isDesktop → bool
Checks if the app is running on a desktop platform.
final
isWebMobile → bool
Checks if the current platform is a web mobile device.
final
platformDesignMode → ImageEditorDesignMode
Sets the design mode for the image editor based on the platform. Uses Material Design for non-iOS/macOS platforms and Cupertino for iOS/macOS.
final
platformIsMaterialDesign → bool
Determines if the platform uses Material Design.
final