{"repo":"timcreatedit/scribble","free":true,"listed":false,"github":"https://github.com/timcreatedit/scribble","clone":"git clone https://github.com/timcreatedit/scribble.git","description":"Scribble is a lightweight library for freehand drawing in Flutter supporting pressure, variable line width and more!","language":"Dart","stars":151,"topics":["dart","flutter"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Scribble Scribble is a lightweight library for freehand drawing in Flutter supporting pressure, variable line width and more! Installation 💻 ❗ In order to start using Scribble you must have the [Dart SDK][dart install link] installed on your machine. Install via dart pub add : --- Features Variable line width Image Export Pen and touch pressure support Line simplification for making sketch files smaller Choose which pointers can draw (touch, pen, mouse, etc.) Lines get slimmer when the pen is moved more quickly Line eraser support Full undo/redo support using value notifier tools Sketches are fully serializable to JSON Export Sketches to PNG Usage You can find a full working example in the example directory You can create a drawing surface by adding the Scribble widget to your widget tree and passing in a ScribbleNotifier . Use the public methods on ScribbleNotifier to control the behavior (for example from a button in the UI): Additional information As mentioned above, the package is still under development, but we already use it in the app we are currently developing. Feel free to contribute, or open issues in our GitHub repo. [dart install link]: https://dart.dev/get-dart [github actions link]: https://docs.github.com/en/actions/learn-github-actions [license badge]: https://img.shields.io/badge/license-MIT-blue.svg [license link]: https://opensource.org/licenses/MIT [mason link]: https://github.com/felangel/mason [very good ventures link]: https://verygood.ventures","default_branch":null,"files":null,"tree":[],"storefront":"/r/timcreatedit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/timcreatedit/scribble/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}