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

GitHub リポジトリmokhselim/ios_color_picker

ios_color_picker

すべてのプラットフォーム(Web、Android、iOS)向けにネイティブiOSカラーピッカーのクローンUIを提供する新しいFlutterパッケージで、iOS専用にネイティブiOSピッカーも提供しています

ios_color_picker のプロジェクト画像
スター
7
フォーク
17
最終プッシュ(UTC)
2026/05/02
プロジェクト状態
公開中

元の README

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

ios_color_picker

A Flutter package that provides an iOS-style color picker UI for every Flutter platform, plus access to the native iOS color picker on iOS.

Supported Platforms

  • Linux
  • macOS
  • Web
  • Windows
  • iOS
  • Android

Requirements

  • Flutter 3.41.0 or later
  • Dart 3.11.4 or later
  • Android minSdk 24
  • iOS 14.0 or later for the native iOS picker
  • macOS 10.15 or later

Features

Screenshots & Demo

Getting Started

Add the package and create a controller. Dispose the controller from your widget's dispose method because the native iOS picker streams color changes through an event channel.

Usage

final iosColorPickerController = IOSColorPickerController();

/// Native iOS Color Picker
ElevatedButton(
  onPressed: () {
    iosColorPickerController.showNativeIosColorPicker(
      startingColor: backgroundColor,
      darkMode: true,
      onColorChanged: (color) {
        setState(() {
          backgroundColor = color;
        });
      },
    );
  },
  child: Text("Native iOS"),
),

/// Custom iOS Color Picker (for all platforms)
ElevatedButton(
  onPressed: () {
    iosColorPickerController.showIOSCustomColorPicker(
      startingColor: backgroundColor,
      onColorChanged: (color) {
        setState(() {
          backgroundColor = color;
        });
      },
      context: context,
    );
  },
  child: Text("Custom iOS for all"),
),

Dispose the controller:

final IOSColorPickerController iosColorPickerController =
    IOSColorPickerController();

@override
void dispose() {
  iosColorPickerController.dispose();
  super.dispose();
}

Example

Run the app in the example/ folder to explore the plugin.

Additional Information

For more updates and inquiries, connect with me on LinkedIn:

Mohamed khaled Selim GitHub avatar
GitHub 作者

Mohamed khaled Selim ↗

Flutter Developer

言語DartC++CMakeSwiftRubyCKotlinHTMLObjective-C

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 9 件

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

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

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

情報源と管理

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

GitHub Docs — About repositories ↗