image_sketcher 0.0.3 copy "image_sketcher: ^0.0.3" to clipboard
image_sketcher: ^0.0.3 copied to clipboard

outdated

Draw sketch on image & Signature creator with customized tool

image_sketcher #

pub package style: effective dart Platform Badge License: MIT

Getting started #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  image_sketcher: latest

In your library add the following import:

import 'package:image_sketcher/image_sketcher.dart';

Using the library #

Check out the example

Basic usage of the libary:

  • ImageSketcher.network: Painting over image from network url.
final _imageKey = GlobalKey<ImageSketcherState>();
//Provide controller to the painter.
ImageSketcher.network("https://sample_image.png",
                  key: _imageKey,scalable: true),

///Export the image:
Uint8List byteArray = await _imageKey.currentState.exportImage();

For more thorough implementation guide, check the example.

11
likes
70
points
43
downloads

Publisher

unverified uploader

Weekly Downloads

Draw sketch on image & Signature creator with customized tool

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, vector_math

More

Packages that depend on image_sketcher

Packages that implement image_sketcher