A simple Flutter application that allows users to draw lines on a canvas using their finger or mouse.
- Freehand Drawing: Draw lines on the screen by dragging your finger or mouse.
- Customizable Canvas: Utilizes
CustomPaintfor flexible drawing capabilities.
Here's a screenshot of the application:
| Screenshot |
|---|
![]() |
- Run the application:
flutter run
- Start Drawing: Simply touch and drag your finger (or mouse) across the screen to draw lines.
lib/main.dart: Contains the main application logic, including theMyHomePagewidget which handles touch input and rendering, and theDrawingPainterclass for custom painting.
