패키지, 저장소 및 앱 카테고리 검색

ios_color_picker 표지
패키지 상세v3.0.0

ios_color_picker

모든 플러터 플랫폼용으로 iOS 스타일의 색상 선택기 UI를 제공하는 플러터 패키지이며, iOS에서는 네이티브 iOS 색상 선택기도 제공합니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
167
좋아요
10
Pub 점수
140

패키지 설치

flutter pub add ios_color_picker

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

ios_color_picker 패키지는 모든 플러터 플랫폼에서 iOS 스타일의 색상 선택기 인터페이스를 제공하여 일관된 외관과 느낌을 보장합니다. iOS에서는 원본 색상 선택기를 활용하여 진정한 통합을 구현합니다. 이 패키지는 플랫폼에 적합한 디자인으로 직관적인 색상 선택이 필요한 앱에 이상적입니다. Android, Web, macOS, Windows, Linux 등 여러 플랫폼을 지원하여 크로스플랫폼 개발에 유연성을 제공합니다. UI는 Apple의 네이티브 색상 선택기를 모방하여 비-iOS 기기에서도 사용자 경험을 향상시키며, 가능할 경우 네이티브 동작을 유지합니다.

사용 사례

  • 크로스 플랫폼 색상 선택
  • 비-iOS 플랫폼에서의 iOS 네이티브 UI
  • 색상 선택기와 함께하는 디자인 도구
  • 사용자 지정 테마 빌더
  • 모바일 앱 색상 맞춤 설정

주요 기능

  • 모든 플랫폼에서 iOS 스타일의 UI
  • iOS에서 네이티브 iOS 피커 사용
  • 다수의 플랫폼을 지원합니다
  • pub를 통한 간단한 통합
  • 장치 간 일관된 UX

적합한 대상

  • iOS 미학을 목표로 하는 개발자
  • 색 입력이 필요한 앱
  • 크로스 플랫폼 UI 일관성
  • 디자인 중심 애플리케이션
  • 색상 사용자 정의가 가능한 Flutter 앱

고려 사항

  • 색상 선택만 가능
  • 고급 색상 조작 없음
  • 색 값에 대한 수동 처리가 필요합니다
  • 기본적으로 접근성 최적화되지 않음
  • 경계 사례에서 iOS와 정확히 일치하지 않을 수 있습니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

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:

카테고리

의존성

의존성 목록 5 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.