whiteboard 0.0.2 copy "whiteboard: ^0.0.2" to clipboard
whiteboard: ^0.0.2 copied to clipboard

A package for freehand use on whiteboard. This package provides a cross platform widget for drawing with controller.

example/lib/main.dart

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

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Whiteboard',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Text('Whiteboard'),
        ),
        body: Container(
          height: MediaQuery.of(context).size.height,
          width: MediaQuery.of(context).size.width,
          child: Column(
            children: [
              Expanded(
                child: WhiteBoard(),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
26
likes
150
points
817
downloads

Publisher

verified publishergoflutter.in

Weekly Downloads

A package for freehand use on whiteboard. This package provides a cross platform widget for drawing with controller.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on whiteboard