flutter_whiteboard

flutter_whiteboard is a simple, full-screen drawing widget for Flutter. It allows users to draw freehand on the screen and clear the canvas with a single tap. Perfect for whiteboard, sketch, or signature features in your app.

Features

  • Full-screen drawing area
  • Freehand drawing with touch
  • Clear button to erase all drawings
  • Customizable and easy to integrate

Getting started

Add this package to your pubspec.yaml:

dependencies:
	flutter_whiteboard:
		git:
			url: https://github.com/your-repo/flutter_whiteboard.git

Import the package:

import 'package:flutter_whiteboard/flutter_whiteboard.dart';

Usage

Embed the widget in your app:

import 'package:flutter/material.dart';
import 'package:flutter_whiteboard/flutter_whiteboard.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
	const MyApp({Key? key}) : super(key: key);

	@override
	Widget build(BuildContext context) {
		return MaterialApp(
			home: FullScreenDrawingBoard(),
		);
	}
}

Additional information

For issues, suggestions, or contributions, please open an issue or pull request on GitHub.

Libraries

flutter_whiteboard