setWidth method

  1. @override
PDimension setWidth(
  1. num width
)
override

Implementation

@override
PDimension setWidth(num width) => (size ?? PDimension(0, 0)).setWidth(width);