path_drawer

Last updated:

0 purchases

path_drawer Image
path_drawer Images
Add to Cart

Description:

path drawer

know whether this package might be useful for them.Draw a line cross a widget
this package divide Widget into a 12 x 12 grid
each intersect represent a point that the path might change path direction or position .
Features #






















Getting started #
You need to pass a Point Object which take 3 parameter
x : represent the point in width which is in the range of (0 - 12)
0 : left most screen
12 : right most screen
y : represent the point in heigh which is in the range of (0 - 12)
0 : top most screen
12 : bottom most screen
dir : 0 or 1
0 : represent an Ellipse
1 : represent a Hyperbola
Usage #

Align(
alignment: Alignment.topCenter,
child: Opacity(
opacity: 1,
child: ClipPath(
clipper: WaveClipper([
Point(x: 0, y: 12, dir: 0),
Point(x: 2, y: 6, dir: 1),
Point(x: 4, y: 4, dir: 0),
Point(x: 8, y: 0, dir: 1),
]),
child: Container(
color: Colors.blue[900],
height: 100,
),
),
),
),

copied to clipboard
Additional information #

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.