Last updated:
0 purchases
magic canvas
Flutter package support draw canvas shapes
Support shapes #
Rectangle
Circle
Line
Arrow
Chat bubble
Custom shape by extend AbstractShape
Getting started #
To use this plugin, add magic_canvas as a dependency in your pubspec.yaml file.
Usage #
Here is a simple example, see more detail at /example
Board(
children: [
RectangleShape(
borderColor: Colors.red,
location: const Offset(5, 5),
size: const Size(30, 50),
color: Colors.orange,
),
CircleShape(
borderColor: Colors.red,
location: const Offset(50, 5),
size: const Size(30, 50),
color: Colors.orange,
text: 'Hello'
),
color: Colors.grey,
size: const Size(1280, 720),
],
)
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.