bounds property

  1. @override
Bounds<Point<num>>? bounds

The bounds for this object (could be calculated if not explicitely set).

Please note that in some cases bounds could be pre-calculated but it's possible that accessing this property may cause extensive calculations.

For some bounded objects (like an empty collections) bounds cannot be resolved at all. In such case, the null value is returned.

Implementation

@override
Bounds? get bounds => Bounds.of(min: this, max: this);