Companion

object Companion

Common device size presets for testing responsive designs

Provides predefined screen sizes for smartphones, tablets, and desktop displays in both portrait and landscape orientations. These presets represent typical device dimensions found in the market and help ensure compatibility across different screen sizes.

// Individual device types
ScreenSize.MediumSmartPhone // 375x667 dp
ScreenSize.LargeTablet // 900x1440 dp
ScreenSize.MediumDesktop // 1440x900 dp

// Device categories
ScreenSize.SmartPhones // All smartphone sizes
ScreenSize.Tablets // All tablet sizes
ScreenSize.Desktops // All desktop sizes
ScreenSize.AllPresets // Every available preset

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard