double px(double value, Axis axisDirection) { return axisDirection == Axis.horizontal ? _width * (value / Figma.instance.deviceWidth) : _height * (value / Figma.instance.deviceHeight); }