isCameraVisible method
- double? offset,
Implementation
bool isCameraVisible({double? offset}) {
if (_screenVisible) {
final double position = offset ?? _controller.offset;
return position >= 0.0 && position < cameraHeight;
}
return false;
}