Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Repository contains Gelin Flutter package for random lines / curves generation and visualisation.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages