gelin 0.1.6 gelin: ^0.1.6 copied to clipboard
A Flutter for random lines generation within a circle area.
Gelin #
Package generates random doted lines in area defined by a circle.
Features #
- Random doted lines generation within random ar defined segments of a circle.
- Widget for representation on generated lines.
Getting started #
TODO: List prerequisites and provide or point to information on how to start using the package.
Usage #
class _MyPageState extends State<MyPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: SafeArea(
child: Column(
children: [
const SizedBox(
height: 100,
),
SizedBox(
height: 400,
width: 400,
child: () {
// Calling in random generator
var gen = ArcminGenerator();
// Building a widget
return CurvesPlotter()
.plot(distort: true, curvesGenerator: gen);
}(),
),
const SizedBox(
height: 100,
),
SizedBox(
height: 100,
width: 100,
child: FloatingActionButton(
onPressed: () => setState(() {}),
child: const Icon(Icons.sync)),
)
],
),
),
);
}
}