Repositório GitHubEP-u-NW/painter

pintor

Um widget simples do Flutter para pintar com os dedos

Capa do projeto pintor
Estrelas
134
Forks
66
Último push (UTC)
1 de fev. de 2024
Status do projeto
Ativo

README original

Texto original em inglês. Visite o GitHub para a versão atual.

painter

A simple flutter widget to paint with your fingers.

Features

The widget supports:

  • Changing fore- and background color
  • Changing the thickness of lines you draw
  • Exporting your painting as png
  • Undo drawing a line
  • Clearing the whole drawing
  • Check if anything was drawn at all (using `PainterController.isEmpty')
  • Erase Mode

Some Notes

  • After calling 'finish()' on a PainterController you can't draw on this painting any more
  • To create a new painting after finishing the old one simply create a new PainterController
  • Calling 'finish()' for the first time will render the drawing. Successive calls will then return a cached version of the rendered picture

Example

For a full example take a look at the example project. Here is a short recording showing it. Note that the color picker is an external dependency which is only required for the example.

demo!

EP-u-NW GitHub avatar
Autor no GitHub

EP-u-NW ↗

LinguagensC++DartCMakeHTMLCKotlinSwiftObjective-C

Categorias

Dependências usadas

Lista de dependências 1 itens

  • flutter{"sdk":"flutter"}

Como escolher um repositório para seu projeto?

Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.

  1. Busque por nome, autor ou descrição e filtre por tema.
  2. Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
  3. Confira o README, a licença e as issues no GitHub antes de usar o projeto.

Fontes e manutenção

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗