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

flutter_brand_palettes 표지
패키지 상세v0.5.2

flutter_brand_palettes

인기 브랜드 및 기업의 색상 팔레트를 위한 우아하고 선언적인 클래스 모음입니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
137
좋아요
41
Pub 점수
150

패키지 설치

flutter pub add flutter_brand_palettes

패키지 개요

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

유명 브랜드 및 기업을 위한 정교하게 구성된 우아하고 선언적인 색상 팔레트를 제공하는 플러터 패키지입니다. 앱에서 일관성 있고 브랜드에 부합하는 색상을 필요로 하는 개발자를 위해 설계되었으며, 공식 브랜드 색상과 직접 매핑되는 사용하기 쉬운 클래스를 제공합니다. 여러 플랫폼을 지원하며 간단한 pub add 명령어를 통해 플러터 프로젝트에 원활하게 통합됩니다. 브랜딩, UI 디자인 일관성, 실제 브랜드 미학을 활용한 빠른 프로토타이핑에 이상적입니다.

사용 사례

  • 브랜드 테마 앱 인터페이스
  • 일관된 UI 색상 계획
  • 브랜드 색상으로 빠른 프로토타이핑
  • 마케팅 또는 기업 앱 디자인
  • 개발 중인 색상 팔레트 참조
  • 크로스플랫폼 브랜드 일치

주요 기능

  • 선언적 브랜드 색상 클래스
  • 공식 브랜드 색상 정확도
  • 다중 플랫폼 지원
  • 간단한 pub add 통합
  • 확장 가능한 색 정의
  • 깨끗하고 읽기 쉬운 API

적합한 대상

  • Flutter를 사용하는 UI/UX 디자이너
  • 브랜드 앱을 개발하는 개발자
  • 빠른 브랜드 일관성을 필요로 하는 스타트업
  • 디자인 시스템 구현자
  • 시각적 정확도에 집중하는 프론트엔드 팀

고려 사항

  • 사전 정의된 브랜드 팔레트로 제한
  • 사용자 정의 색상 생성을 위한 것이 아님
  • 외부 브랜드 가이드라인에 따라 달라집니다
  • 새로운 브랜드 변경을 위해 업데이트가 필요할 수 있습니다
  • 런타임 색상 사용자 정의 옵션이 없음

원본 README

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

flutter_brand_palettes

EO-Color logo

EO principles respected
here DevOps By
Rultor.com

pub license

build codecov CodeFactor Grade style: lint Hits-of-Code

Contents

Overview

Flutter Brand Palettes is a collection of declarative, object-oriented classes for the color palettes of popular brands and companies.

For example, to retrieve the Instagram colors at once, as a List<Color> object, simply declare InstagramGrad().colors — the 'Grad' suffix is short for Gradient.

For a single color, simply select it from the color palette class it belongs to. For example, the command Instagram.royalBlue() retrieves the royal blue color from the Instagram color palette; likewise, Instagram.yellow() retrieves the yellow color; and so on.

In addition, all classes are well-documented and fully unit-tested, passing through a CI pipeline with rigorous quality ports.

Getting Started

Instead of a constant integer value, a color is represented by a named constructor of its corresponding brand class. In this way, the source code becomes more object-oriented, readable and maintainable.

For example, the command Facebook.blue().color returns Facebook's blue color #4267B2. Similarly, the command Instagram.red().color returns Instagram's red color #FD1D1D; Google.red().color, Google's red color #DB4437. Therefore, the command pattern for any brand is: 'Brand.colorName().color'.

Color Palettes in Action

The code bellow builds a container widget whose background color is Facebook blue.

import 'package:brand_colors/flutter_brand_colors.dart';
import 'package:flutter/material.dart';

class FacebookIsh extends StatelessWidget {

  const _blue = Facebook.blue();

  @override
  Widget build(BuildContext context) => Container(color: _blue.color);
}

Color Gradient in Action

The code below builds a rectangle filled with the Google logo gradient.


/// Rectangle filled with Google logo color gradient.
class Googleish extends StatelessWidget {

  static final _googleGrad = const GoogleGrad().colors;

  @override
  Widget build(BuildContext context) {
    return Container(
      decoration: BoxDecoration(
        gradient: LinearGradient(colors: _googleGrad),
      ),
    );
  }
}

The result of the previous code in full screen

google_grad_full_screen

Demo application

The demo application provides a fully working example, focused on demonstrating exactly one brand in action: Instagram. You can take the code in this demo and experiment with it.

To run the demo application:

git clone https://github.com/dartoos-dev/flutter_brand_palettes.git
cd flutter_brand_palettes/example/
flutter run -d chrome

This should launch the demo application on Chrome in debug mode.

Demo-App

I need the 'X' color palette

Do you need a color palette that has not been implemented yet?

It doesn't matter the size and relevance of the company, not even if it's a tech company.

Just open an issue and enter the brand or company name; the color palette will be implemented as soon as possible.

Contribute

Contributors are welcome!

  1. Open an issue regarding an improvement, a bug you noticed, or ask to be assigned to an existing one.
  2. If the issue is confirmed, fork the repository, do the changes on a separate branch and make a Pull Request.
  3. After review and acceptance, the Pull Request is merged and closed.

Make sure the command below passes before making a Pull Request.

  flutter analyze && flutter test

List of Color Palettes (A-Z)

For more in-depth details — hex codes, brand colors, etc. —, check the color-palettes API documentation.

  • Amazon
    • black, orange.
  • American Express
    • bright blue, deep blue, neutral 1 (light grey), neutral 2 (dark grey).
  • Android
    • green.
  • Apple
    • black, silver, white.
  • Bitcoin
    • grey, orange, white.
  • Facebook
    • black, blue, grey, white.
  • FedEx
    • orange, purple.
    • Old Palette
      • black, blue, green, grey, red, yellow, white.
  • Flutter
    • blue, dark blue, dark grey, light blue, light grey, grey, white.
  • Google
    • blue, green, red, yellow.
  • Ibm
    • black, blue, white.
  • Instagram
    • blue, dark orange, dark pink, light yellow, orange, purple, purple-red, red, royal blue, yellow.
  • Iphone11
    • black, light green, light purple, light yellow, red, white.
  • Iphone11Pro
    • midnight green, rose-gold, silver, space grey.
  • Iphone7
    • black, gold, rose-gold, silver.
  • Iphone8
    • gold, silver, space grey.
  • IphoneXR2
    • black, blue, coral, red, white, yellow.
  • IphoneXS
    • black, gold, silver.
  • Kotlin
    • blue, orange, purple, violet.
  • Linkedin
    • blue, white.
  • Mastercard
    • black, orange, red, yellow.
  • Messenger
    • primaries
      • black, blue, cool white, coral, pink, purple.
    • neutrals (cool grey tones)
      • daylight, midnight, twilight.
  • Microsoft
    • blue, green, grey, orange-red, yellow.
  • Netflix
    • black, red, white.
  • Oracle
    • black, grey, red, white.
  • PayPal
    • black, pal blue, pay blue, white.
  • Pinterest
    • red, white.
  • Reddit
    • black, orange, white.
  • Slack
    • aubergine (eggplant), black, blue, green, red, yellow.
  • Spotify
    • black, green, white.
  • Swift
    • black, sunset orange.
  • TikTok
    • black, red, turqoise, white.
  • Tinder
    • grey, pink.
  • Twitter
    • black, blue, dark grey, extra extra light grey, extra light grey, light, grey, white.
  • Uber
    • primary
      • black, white.
    • safety
      • blue.
    • secondary
      • brown, green, orange, purple, red, yellow.
  • Visa
    • blue, gold.
  • Whatsapp
    • blue, light green, teal green, teal green dark, white, white chocolate.
  • Youtube
    • almost black, red, white.

Hex color values references

카테고리

의존성

의존성 목록 1 개

소스 저장소

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

아직 데이터가 없습니다.