menu
tencent_live_uikit package
documentation
common/screen/screen_adapter.dart
ScreenAdapter
getWidth method
getWidth method
dark_mode
light_mode
getWidth
method
double
getWidth
(
double
dp
)
Implementation
double getWidth(double dp) { return MediaQuery.sizeOf(_context).width * dp / designWidth; }
tencent_live_uikit package
documentation
common/screen/screen_adapter
ScreenAdapter
getWidth method
ScreenAdapter class