GitHub リポジトリEP-u-NW/painter

画家

指で描画するためのシンプルなFlutterウィジェット

画家 のプロジェクト画像
スター
134
フォーク
66
最終プッシュ(UTC)
2024/02/01
プロジェクト状態
公開中

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

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
GitHub 作者

EP-u-NW ↗

言語C++DartCMakeHTMLCKotlinSwiftObjective-C

カテゴリー

使用している依存関係

依存関係一覧 1 件

  • flutter{"sdk":"flutter"}

プロジェクトに合うリポジトリを選ぶには?

用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。

  1. 名前・作者・説明で検索し、技術トピックで絞り込みます。
  2. スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
  3. 利用前に GitHub で README、ライセンス、Issues を確認します。

情報源と管理

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

GitHub Docs — About repositories ↗