ratio top-level property

double ratio
final

Implementation

final double ratio =
    bindingAmbiguate(WidgetsBinding.instance)!.window.devicePixelRatio;