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

패키지 상세v1.0.7

image_color_picker

이미지(assets/network/file)에서 색상을 선택하고 색상 16진수 코드를 얻습니다.

30일 다운로드
27
좋아요
43
Pub 점수
35

패키지 설치

flutter pub add image_color_picker

패키지 개요

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

자산, 네트워크 또는 로컬 파일에서 이미지를 선택하여 색상을 추출할 수 있는 플러터 패키지입니다. 선택한 이미지에서 주도적이고 대표적인 색상의 16진수 코드를 추출하여 디자인 및 테마 사용자 정의 워크플로우에 적합합니다. 가볍고 시각적 색상 분석이 필요한 앱에 쉽게 통합될 수 있습니다. 다양한 이미지 형식을 지원하며 최소한의 설정으로 정확한 색상 샘플링을 제공합니다.

사용 사례

  • UI 테마를 위한 색상 추출
  • 디자인 도구 통합
  • 이미지 기반 팔레트 생성
  • 앱 테마 사용자 지정
  • 크리에이티브 앱 색상 선택

주요 기능

  • 이미지에서 16진수 색상 코드를 추출합니다
  • 자산, 네트워크 및 파일 소스를 지원합니다
  • 경량이며 쉽게 통합 가능
  • 정확한 색상 샘플링
  • 크로스 플랫폼 호환성

적합한 대상

  • UI/UX 디자이너
  • 창의적인 애플리케이션 개발자
  • 테마 기반 앱 빌더
  • 색상 팔레트 생성기
  • Flutter를 사용하는 모바일 앱 개발자

고려 사항

  • 파일 소스에 대한 이미지 로드 권한이 필요합니다
  • 정적 이미지 처리에 제한됨
  • 실시간 색상 미리보기 없음
  • 이미지 크기와 품질에 따라 다릅니다
  • 큰 이미지를 사용할 경우 성능에 영향을 줄 수 있습니다

원본 README

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

Image color picker

Add a heading

Pick color from image (assets/network/file) and get color hexcodes

Installation

First, add image_color_picker: ^1.0.0 as a dependency in your pubspec.yaml file.

Import

import 'import 'package:image_color_picker/image_color_picker.dart';';

Just provide Image either by assets/network/file and get colorCodes

Network

onPressed: () {
            Navigator.push(
                context,
                MaterialPageRoute(
                    builder: (context) => NetworkImageBG(
                          networkpath:
                              'https://media-exp1.licdn.com/dms/image/C5122AQEtG7CO0rFCRg/feedshare-shrink_800/0?e=1588809600&v=beta&t=kc8G2jGTOzxm0ehLchKh0SlTSyUl62Vtb5K59P00BLY',
                        )));
          },

Asset

onPressed: () {
            Navigator.push(
                context,
                MaterialPageRoute(
                    builder: (context) => AssetImageBG(
                          assetPath: 
                              'https://media-exp1.licdn.com/dms/image/C5122AQEtG7CO0rFCRg/feedshare-shrink_800/0?e=1588809600&v=beta&t=kc8G2jGTOzxm0ehLchKh0SlTSyUl62Vtb5K59P00BLY',
                        )));
          },

File

onPressed: () {
            Navigator.push(
                context,
                MaterialPageRoute(
                    builder: (context) => FileImageBG(
                          filePath: 
                              File('./path')),
                        ));
          },

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

MIT License

Copyright (c) 2020 Zeeshux7860

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

카테고리

의존성

의존성 목록 1 개

소스 저장소

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

아직 데이터가 없습니다.