depthOf method
- Size size
The width of the band that bends, for a lens of size.
Implementation
double depthOf(Size size) {
final d = depth * (relative ? math.min(size.width, size.height) : 1);
return maxDepth == null ? d : math.min(d, maxDepth!);
}