getWidth method

double? getWidth()

Implementation

double? getWidth() {
  return size == null ? 0 : size!.width;
}