getWidthPx property

double get getWidthPx

Implementation

double get getWidthPx {
  FlutterView view = WidgetsBinding.instance.platformDispatcher.views.first;
  Size size = view.physicalSize;
  return size.width * this;
}