Last updated:
0 purchases
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 #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.