factory FFDimensions({ FFDim? width, FFDim? height, }) { final result = create(); if (width != null) result.width = width; if (height != null) result.height = height; return result; }