gelin 0.1.6 copy "gelin: ^0.1.6" to clipboard
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.

example

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)),
            )
          ],
        ),
      ),
    );
  }
}

Additional information #

2
likes
110
pub points
0%
popularity

Publisher

unverified uploader

A Flutter for random lines generation within a circle area.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

charts_flutter, cupertino_icons, flutter, logger, quiver, scidart, scidart_plot

More

Packages that depend on gelin