paintSurface method
Implementation
void paintSurface(Canvas canvas, {double sigmaX = 0.9, double sigmaY = 0.9}) {
final paint = Paint()
..imageFilter = ui.ImageFilter.blur(
sigmaX: sigmaX, sigmaY: sigmaY, tileMode: TileMode.repeated)
..shader = ImageShader(
noiseTexture,
TileMode.repeated,
TileMode.repeated,
Matrix4.identity().storage,
);
canvas.save();
canvas.clipPath(innerPath);
canvas.drawPath(innerPath, paint);
canvas.restore();
}