scaled_app library

Functions

runAppScaled(Widget app, {ScaleFactorCallback? scaleFactor}) → void
Replace runApp with runAppScaled in main().

Typedefs

ScaleFactorCallback = double Function(Size deviceSize)
The size of the screen is in logical pixels.