draw path flutter canvas code example Example: flutter path lineto void lineTo(double x, double y) native 'Path_lineTo';