パッケージ、リポジトリ、アプリカテゴリを検索

flutter_circle_color_picker のカバー
パッケージ詳細v0.3.0

flutter_circle_color_picker

Flutter用の美しい円形カラーピッカーで、HSLカラーを選択します。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
299
いいね数
71
Pub ポイント
150

パッケージをインストール

flutter pub add flutter_circle_color_picker

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Flutter向けの視覚的に魅力的な円形カラーピッカーで、HSLカラー方式を使用してユーザーが色を選択できます。滑らかなインタラクションと洗練されたデザインを備えており、直感的な色選択が必要なアプリにスムーズに統合されます。Android、iOS、Web、macOS、Windows、Linuxなど、すべての主要プラットフォームをサポートしており、非常に汎用性が高いです。デザインツール、テーマカスタマイザー、または自然な円形インターフェースで色を選択する必要があるあらゆるアプリに最適です。

用途

  • デザインアプリでのカラーセレクション
  • テーマカスタマイズインターフェース
  • クリエイティブな描画または絵画ツール
  • ユーザー・プロフィールの色の好み
  • インタラクティブUIプロトタイピング

主な機能

  • HSLカラー・モデルサポート
  • ドラッグベースの円形カラーピッカー
  • クロスプラットフォーム互換性
  • スムーズなアニメーションと遷移
  • カスタマイズ可能な外観
  • 応答性のあるタッチおよびポインター入力

適している対象

  • クリエイティブまたはデザイン志向のアプリを開発する開発者
  • 直感的な色選択が必要なアプリ
  • 一貫したUIを備えたクロスプラットフォームアプリケーション
  • カラーツールを統合するUI/UXデザイナー

注意事項

  • HSL 色空間に限定(RGB や他のモデルではない)
  • ダークモードの整合性を保つために追加のスタイリングが必要になる場合があります
  • 非常に大きなカラーパレットには最適化されていません
  • プラットフォーム固有のレンダリングに外部依存関係に依存しています

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

flutter_circle_color_picker

pub package

A beautiful circle color picker for flutter. Online Demo

Light theme Dark Theme
sample light theme sample dark theme

Usage

...
        body: Center(
          child: CircleColorPicker(
            initialColor: Colors.blue,
            onChanged: (color) => print(color),
            size: const Size(240, 240),
            strokeWidth: 4,
            thumbSize: 36,
          ),
        ),
...

API

  /// Called during a drag when the user is selecting a color.
  ///
  /// This callback called with latest color that user selected.
  final ValueChanged<Color> onChanged;

  /// Called when drag ended.
  ///
  /// This callback called with latest color that user selected.
  final ValueChanged<Color>? onEnded;

  /// An object to controll picker color dynamically.
  ///
  /// Provide initialColor if needed.
  final CircleColorPickerController? controller;

  /// The size of widget.
  /// Draggable area is thumb widget is included to the size,
  /// so circle is smaller than the size.
  ///
  /// Default value is 280 x 280.
  final Size size;

  /// The width of circle border.
  ///
  /// Default value is 2.
  final double strokeWidth;

  /// The size of thumb for circle picker.
  ///
  /// Default value is 32.
  final double thumbSize;

  /// Text style config
  ///
  /// Default value is Black
  final TextStyle textStyle;

  /// Widget builder that show color code section.
  /// This functions is called every time color changed.
  ///
  /// Default is Text widget that shows rgb strings;
  final ColorCodeBuilder colorCodeBuilder;

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト