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