paint method
Paint to the canvas
Implementation
@override
void paint(Canvas canvas, Size size) {
//Keep it in the view
canvas.clipRect(Rect.fromLTWH(0, 0, size.width, size.height));
// Draw space or the loading screen
_imagesLoaded ? drawSpace(canvas, size) : drawLoadingScreen(canvas, size);
}