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

flutter_gradient_colors 표지
패키지 상세v2.1.1

flutter_gradient_colors

100개 이상의 사전 정의된 그라데이션 색상을 제공합니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
168
좋아요
97
Pub 점수
140

패키지 설치

flutter pub add flutter_gradient_colors

패키지 개요

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

flutter_gradient_colors는 100개 이상의 사전 정의된 그라데이션 색상을 제공하는 Flutter 패키지로, 생동감 있는 즉시 사용 가능한 그라데이션으로 앱 시각적 요소를 강화하는 데 도움을 줍니다. 개발자가 빠르고 일관된 색상 테마를 찾는 데 적합하도록 설계되었으며, 여러 플랫폼에서 Flutter 프로젝트에 원활하게 통합됩니다. 이 패키지는 그라데이션 정지점을 수동으로 정의할 필요 없이 UI 디자인을 간소화하고, 미적으로 매력적인 색상 조합에 즉시 접근할 수 있도록 합니다. 배경, 버튼 및 장식 요소에 적합하며 Android, iOS, Web, macOS, Windows, Linux를 지원합니다.

사용 사례

  • 앱 배경 디자인
  • 버튼 및 카드 스타일
  • UI 요소 장식
  • 테마 사용자 정의
  • 시각 브랜딩

주요 기능

  • 100개 이상의 사전 정의된 그라디언트
  • 크로스 플랫폼 지원
  • 간편한 통합
  • 일관된 색상 팔레트
  • 최소한의 설정 필요

적합한 대상

  • UI 디자이너
  • 플러터 초보자
  • 빠른 프로토타이핑
  • 브랜드 앱 개발
  • 시각적 향상

고려 사항

  • 제한된 사용자 정의 그라디언트 생성
  • 사전 정의된 세트에 의존
  • 매우 고유한 그라데이션에는 적합하지 않음
  • 런타임 사용자 정의 없음
  • 고정된 그라디언트 정의

원본 README

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

flutter_gradient_colors

A new Flutter package project.

Show some :heart: and star the repo to support the project

100 New Colors Added

# ScreenShots # Screenshot # ScreenShots
# ScreenShots # Screenshot # ScreenShots

Types of Gradient Color class

      1. GradientColor class: In this Gradient color class we use two colors for gradient color, so use only two value for stop otherwise you will face error.
        eg. Container(
            margin: EdgeInsets.only(top: 10.0),
            width: MediaQuery.of(context).size.width - 10,
            height: 140,
            decoration: BoxDecoration(
                gradient: LinearGradient(
              begin: Alignment.topLeft,
              end: Alignment.bottomRight,
              colors: GradientColors.blue,
              stop:[
              0.6,
              0.7
              ]
            )),
          ),

      2. MoreGradientColor class: In this Gradient color class we use three colors for gradient color, so use only three value for stop otherwise you will face error.

      eg. Container(
            margin: EdgeInsets.only(top: 10.0),
            width: MediaQuery.of(context).size.width - 10,
            height: 140,
            decoration: BoxDecoration(
                gradient: LinearGradient(
              begin: Alignment.topLeft,
              end: Alignment.bottomRight,
              colors: MoreGradientColors.instagram,
              stop:[
              0.3,
              0.6,
              0.9
              ]
            )),
          ),

New Colors List (GradientColors)

# Color Name # Color Name # Color Name
warmFlame nightFade springWarmt
juicyPeach ladyLips sunnyMorning
rainyAshville frozenDreams winterNeva
dustyGrass temptingAzure heavyRain
amyCrisp meanFruit lightBluee
ripeMalinka cloudyKnoxville malibuBeach
newLife trueSunset morpheusDen
rareWind wildApple plumPlate
everlastingSky happyFisher blessingGet
sharpeyeEagle liadogaBottom lemonGate
itmeoBranding zeusMiracle deepBlue
happyAcid awesomePine newYork
mixedHopes flyHigh freshMilk
snowAgain februaryInk kindSteel
softGrass grownEarly sharpBlues
shadyWater dirtyBeauty greatWhale
teenNotebook politeRumors redSalvation
nightParty skyGlider heavenPeach
purpleDivision aquaSplash redLove
cleanMirror premiumDark cochitiLake
summerGames passionateRed mountainRock
desertHump jungleDay phoenixStart
octoberSilence farawayRiver alchemistLab
overSun marsParty eternalConstance
japanBlush summerGames smilingRain
cloudy bigMango healthyWater
amour strongStick blackGray
paloAlto happyMemories midnightBloom
crystalline partyBliss confidentCloud
leCocktail riverCity rozenBerry
childCare flyingLemon hiddenJaguar
nega seashore marbleWall
cheerfulCaramel nightSky youngGrass
nega seashore marbleWall
colorfulPeach gentleCare plumBath
happyUnicorn glassWater

Colors List (GradientColors)

# Color Name # Color Name # Color Name
blue pink orange
indigo white black
piggyPink coolBlues eveningSunshine
darkOcean gradeGrey dimBlue
ver lightBlue lightGreen
mango royalBlue skyLine
darkPink purplePink purplePink
skyBlue seaBlue noontoDusk
red lightBrown harmonicEnergy
radish sunny teal
purple green yellow
orangePink aqua sunrise
cherry mojito juicyOrange
mirage violet lightBlack
facebookMessenger winter cloud
grey beautifulGreen

Colors List (MoreGradientColors)

# Color Name # Color Name # Color Name
hazel darkSkyBlue instagram
jShine coolSky azureLane
orangePinkBlue lunada

Example

class ContainerWidget extends StatelessWidget {
  final List<Color> colors;
  final String colorName;

  const ContainerWidget(
      {Key key, @required this.colors, @required this.colorName})
      : super(key: key);
  @override
  Widget build(BuildContext context) {
    return Center(
      child: Stack(
        children: <Widget>[
          Container(
            margin: EdgeInsets.only(top: 10.0),
            width: MediaQuery.of(context).size.width - 10,
            height: 140,
            decoration: BoxDecoration(
                gradient: LinearGradient(
              begin: Alignment.topLeft,
              end: Alignment.bottomRight,
              colors: colors,
            )),
          ),
          Positioned(
            bottom: 0,
            left: 0,
            right: 0,
            child: Container(
              height: 30.0,
              child: Center(
                child: Text(
                  "$colorName",
                  style: TextStyle(color: Colors.white, fontSize: 20.0),
                ),
              ),
              color: Color.fromRGBO(0, 0, 0, 0.3),
            ),
          )
        ],
      ),
    );
  }
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: "Flutter Gradient Color",
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(
          title: Text("Flutter Gradient Color"),
        ),
        body: BodyPart(),
      ),
    );
  }
}

class BodyPart extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return CupertinoScrollbar(
      child: ListView(
        children: <Widget>[
          ContainerWidget(
            colorName: "Blue",
            colors: GradientColors.blue,
          ),
          ContainerWidget(
            colorName: "Cool Blue",
            colors: GradientColors.coolBlues,
          ),
          ContainerWidget(
            colorName: "Pink",
            colors: GradientColors.pink,
          ),
          ContainerWidget(
            colorName: "Orange",
            colors: GradientColors.orange,
          ),
          ContainerWidget(
            colorName: "Indigo",
            colors: GradientColors.indigo,
          ),
          ContainerWidget(
            colorName: "White",
            colors: GradientColors.white,
          ),
          ContainerWidget(
            colorName: "Black",
            colors: GradientColors.black,
          ),
          ContainerWidget(
            colorName: "Piggy Pink",
            colors: GradientColors.piggyPink,
          ),
          ContainerWidget(
            colorName: "Evening Sunshine",
            colors: GradientColors.eveningSunshine,
          ),
          ContainerWidget(
            colorName: "Dark Ocean",
            colors: GradientColors.darkOcean,
          ),
          ContainerWidget(
            colorName: "Grade Grey",
            colors: GradientColors.gradeGrey,
          ),
          ContainerWidget(
            colorName: "Dim Blue",
            colors: GradientColors.dimBlue,
          ),
          ContainerWidget(
            colorName: "Ver",
            colors: GradientColors.ver,
          ),
          ContainerWidget(
            colorName: "LightBlue",
            colors: GradientColors.lightBlue,
          ),
          ContainerWidget(
            colorName: "Lunada",
            colors: MoreGradientColors.lunada,
          ),
          ContainerWidget(
            colorName: "Light Green",
            colors: GradientColors.lightGreen,
          ),
          ContainerWidget(
            colorName: "Violet",
            colors: GradientColors.violet,
          ),
          ContainerWidget(
            colorName: "Light Black",
            colors: GradientColors.lightBlack,
          ),
          ContainerWidget(
            colorName: "Facebook Messenger",
            colors: GradientColors.facebookMessenger,
          ),
          ContainerWidget(
            colorName: "Winter",
            colors: GradientColors.winter,
          ),
          ContainerWidget(
            colorName: "Cloud",
            colors: GradientColors.cloud,
          ),
          ContainerWidget(
            colorName: "Grey",
            colors: GradientColors.grey,
          ),
          ContainerWidget(
            colorName: "Beautiful Green",
            colors: GradientColors.beautifulGreen,
          ),
          ContainerWidget(
            colorName: "Mango",
            colors: GradientColors.mango,
          ),
          ContainerWidget(
            colorName: "Royal Blue",
            colors: GradientColors.royalBlue,
          ),
          ContainerWidget(
            colorName: "Sky Line",
            colors: GradientColors.skyLine,
          ),
          ContainerWidget(
            colorName: "Dark Pink",
            colors: GradientColors.darkPink,
          ),
          ContainerWidget(
            colorName: "Purple Pink",
            colors: GradientColors.purplePink,
          ),
          ContainerWidget(
            colorName: "Sky Blue",
            colors: GradientColors.skyBlue,
          ),
          ContainerWidget(
            colorName: "Sea Blue",
            colors: GradientColors.seaBlue,
          ),
          ContainerWidget(
            colorName: "Hazel",
            colors: MoreGradientColors.hazel,
          ),
          ContainerWidget(
            colorName: "Noon To Dusk",
            colors: GradientColors.noontoDusk,
          ),
          ContainerWidget(
            colorName: "Red",
            colors: GradientColors.red,
          ),
          ContainerWidget(
            colorName: "Light Brown",
            colors: GradientColors.lightBrown,
          ),
          ContainerWidget(
            colorName: "Harmonic Energy",
            colors: GradientColors.harmonicEnergy,
          ),
          ContainerWidget(
            colorName: "Radish",
            colors: GradientColors.radish,
          ),
          ContainerWidget(
            colorName: "Sunny",
            colors: GradientColors.sunny,
          ),
          ContainerWidget(
            colorName: "Teal",
            colors: GradientColors.teal,
          ),
          ContainerWidget(
            colorName: "Purple",
            colors: GradientColors.purple,
          ),
          ContainerWidget(
            colorName: "Green",
            colors: GradientColors.green,
          ),
          ContainerWidget(
            colorName: "Yellow",
            colors: GradientColors.yellow,
          ),
          ContainerWidget(
            colorName: "Orange Pink",
            colors: GradientColors.orangePink,
          ),
          ContainerWidget(
            colorName: "Aqua",
            colors: GradientColors.aqua,
          ),
          ContainerWidget(
            colorName: "Sunrise",
            colors: GradientColors.sunrise,
          ),
          ContainerWidget(
            colorName: "Cherry",
            colors: GradientColors.cherry,
          ),
          ContainerWidget(
            colorName: "Mojito",
            colors: GradientColors.mojito,
          ),
          ContainerWidget(
            colorName: "juicy Orange",
            colors: GradientColors.juicyOrange,
          ),
          ContainerWidget(
            colorName: "Mirage",
            colors: GradientColors.mirage,
          ),
          Divider(),
          Center(child: Text("More Gradient Color")),
          ContainerWidget(
            colorName: "Dark Sky Blue",
            colors: MoreGradientColors.darkSkyBlue,
          ),
          ContainerWidget(
            colorName: "Instagram",
            colors: MoreGradientColors.instagram,
          ),
          ContainerWidget(
            colorName: "JShine",
            colors: MoreGradientColors.jShine,
          ),
          ContainerWidget(
            colorName: "Cool Sky",
            colors: MoreGradientColors.coolSky,
          ),
          ContainerWidget(
            colorName: "Azure Lane",
            colors: MoreGradientColors.azureLane,
          ),
          ContainerWidget(
            colorName: "Orange Pink Teal",
            colors: MoreGradientColors.orangePinkTeal,
          ),
          Divider()
        ],
      ),
    );
  }
}

카테고리

소스 저장소

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

아직 데이터가 없습니다.