getWidth static method

double? getWidth(
  1. BuildContext context,
  2. PosSizeModel? posSizeModel,
  3. Orientation orientation
)

Implementation

static double? getWidth(BuildContext context, PosSizeModel? posSizeModel,
    Orientation orientation) {
  return BoxFitHelper.toWidth(posSizeModel, context, orientation);
}