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

neon_widgets 표지
패키지 상세v2.0.0

neon_widgets

완전한 네온 솔루션. 이 패키지는 깜빡임 효과가 있는 및 없는 네온 위젯을 제공합니다.

AndroidiOSmacOSWindowsLinux
30일 다운로드
79
좋아요
102
Pub 점수
140

패키지 설치

flutter pub add neon_widgets

패키지 개요

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

NeonWidgets는 앱에 생동감 있고 빛나는 효과를 더하기 위해 설계된 포괄적인 네온 테마 UI 컴포넌트 세트를 제공하는 Flutter 패키지입니다. 깜빡임 효과가 있는 및 없는 위젯을 포함하여 개발자가 최소한의 노력으로 눈길을 끄는 인터페이스를 만들 수 있습니다. 현대적이고 시각적으로 역동적인 앱에 적합하며, 부드러운 애니메이션과 사용자 정의 가능한 네온 스타일로 미학을 강화합니다. 크로스플랫폼 사용을 위해 제작되었으며, Android, iOS, macOS, Windows, Linux를 지원하여 다양한 기기에서 일관된 시각적 매력을 보장합니다.

사용 사례

  • 미래 지향적인 앱 인터페이스 만들기
  • 빛나는 텍스트 및 버튼 추가
  • 게임 UI 개선
  • 대시보드 시각 요소 설계
  • 테마 기반 랜딩 페이지 만들기

주요 기능

  • 네온 텍스트 및 컨테이너 위젯
  • 선택적 플리커 애니메이션 효과
  • 크로스 플랫폼 호환성
  • 사용자 정의 가능한 빛나는 색상
  • Flutter와의 간편한 통합
  • 경량이고 성능이 뛰어남

적합한 대상

  • 시각적 매력이 필요한 UI 디자이너
  • 게임 또는 엔터테인먼트 앱을 개발하는 개발자
  • 현대적이고 과감한 미학을 필요로 하는 프로젝트
  • 인터랙티브 대시보드 프로토타이핑
  • 젊은 청중을 겨냥한 앱

고려 사항

  • 저사양 기기에서 성능에 영향을 줄 수 있습니다
  • 플리커 효과는 모든 디자인 테마에 적합하지 않을 수 있습니다
  • 가독성을 위해 신중한 색상 대비가 필요합니다
  • 미니멀리스트 또는 전문적인 UI에는 적합하지 않습니다
  • 빛나는 속성 외의 사용자 지정은 제한적입니다

원본 README

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

Neon Widgets💡

Most commonly used flutter widgets in neon version.

License Pub GitHub stars

Live Example : https://ojas-jain.web.app/#/

Neon Widgets 2.0 => Breaking Changes

Animation disposal issues resolved. and every class' name have been changed, to comply with the standard dart syntax.

All the class names have been changed, to comply with the standard dart syntax. Previously every class had the name convention such that non-neon class' name started with the letter 'o', and neon classes started with 'oNeon'. But in the update, the neon class names now starts with 'Neon', and the letter 'o' has been removed from the starting of non-neon classes.
For example :

1 : 'oNeonContainer' is now changed to 'NeonContainer'.

2 : 'oNeonCustomVerticesProgressBar' is now changed to 'NeonCustomVerticesProgressBar'.

3 : 'oSearchBar' is now changed to 'SearchBar'.

Getting started

Readme Changelog Installing Versions Scores Admin Activity log Use this package as a library Depend on it Run this command:

Run this command:

With Dart:

 $ dart pub add neon_widgets

With Flutter:

 $ flutter pub add neon_widgets

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  neon_widgets: ^2.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it Now in your Dart code, you can use:

import 'package:neon_widgets/neon_widgets.dart';

Features

ExampleApp

Neon Widgets :

Flickering Neon Widgets (with random flicker rate) :

Loaders :

Widgets

neonText :

// neon text

 NeonText(
   text: "Neon text",
   spreadColor: Colors.pink,
   blurRadius: 20,
   textSize: 74,
   textColor: Colors.white,
 ),

// flickering neon text

 FlickerNeonText(
   text: "Flicker neon text",
   flickerTimeInMilliSeconds: 600,
   spreadColor: Colors.blue,
   blurRadius: 20,
   textSize: 74,
 ),

neonSearchBar :

NeonSearchBar()

Chat widgets :

// Left message card in neon theme
NeonLeftMsgCard(
  lightBlurRadius: 20,
  lightSpreadRadius: 5,
  msg:
      "Hi all, this is brand new library that provides most used widgets in neon and normal effect",
  time: "10:45",
),

const SizedBox(
  height: 20,
),

// Right message card in neon theme
NeonRightMsgCard(
    lightBlurRadius: 20,
    lightSpreadRadius: 10,
    backgroundColor: Colors.deepPurple,
    msg:
    "Hi all, this is brand new library that provides most used widgets in neon and normal effect",
    time: "10:45",
 ),

const SizedBox(
  height: 20,
),

// Left massage card

LeftMsgCard(
    msg:
    "Hi all, this is brand new library that provides most used widgets in neon and normal effect",
    time: "10:45",
),

const SizedBox(
  height: 20,
),

// Right massage card

RightMsgCard(
    msg:
    "Hi all, this is brand new library that provides most used widgets in neon and normal effect",
    time: "10:45",
),

const SizedBox(
  height: 20,
),

Add items widget :

Wrap(
direction: Axis.horizontal,
children: <Widget>[
  ...(searchedResults.map((e) =>
      NeonAddItemButton(
          data: e,
          borderColor: Colors.deepOrange.shade50,
          spreadColor: Colors.deepOrange,
          lightSpreadRadius: 3,
          lightBlurRadius: 18))),
],
),

NeonPoint widget :

NeonPoint(
  pointSize: 00,
  pointColor: Colors.red.shade100,
  spreadColor: Colors.red,
),

NeonLine widget :

NeonLine(
  spreadColor: Colors.brown,
  lightSpreadRadius: 30,
  lightBlurRadius: 90,
  lineWidth: 400,
  lineHeight: 0.02,
  lineColor: Colors.brown.shade100,
),

Flickering Neon widgets :

// Flickering neon line
FlickerNeonLine(
  spreadColor: Colors.brown,
  lightSpreadRadius: 30,
  lightBlurRadius: 60,
  lineWidth: 300,
  lineHeight: 2,
  lineColor: Colors.brown.shade100,

  // flicker rate which is selects a random value by default
  randomFlicker: false,
  flickerTimeInMilliSeconds: 1000,
),
// Flickering neon point
FlickerNeonPoint(
  pointSize: 010,
  pointColor: Colors.blue.shade100,
  spreadColor: Colors.blue,
),
// Flickering neon container
FlickerNeonContainer(
    spreadColor: Colors.green.shade700,
    child: WIDGET
),

Loaders :

 //loader type 1 : loader made of polynomial of n number of side
 NeonShapeVerticesProgressBar(number: 4)

 //loader type 2 : triangle shape with all colors customizable
 NeonTriangleVerticesProgressBar()

 //loader type 3 : square shape with all colors customizable
 NeonSquareVerticesProgressBar()

 //loader type 4 : image
 ImageProgressBar(image : "assets/images/abc.png")

Non Neon widgets :

SearchBar(),
const SizedBox(
  height: 20,
),
Wrap(
  direction: Axis.horizontal,
  children: <Widget>[
    ...(searchedResults
        .map((e) => AddItemButton(data: e))),
  ],
),
const SizedBox(
  height: 20,
),
Container(
  padding: const EdgeInsets.all(20),
  child: CircumscribingIconButton(
      icon: Icons.keyboard_arrow_left_sharp,
      onTap: () {},
      backgroundColor: Colors.purple),
),

Usage

Example code provided

NeonContainer(
  spreadColor: Colors.green.shade700,
  child: CircumscribingIconButton(
        icon: Icons.arrow_right_alt_sharp,
        onTap: () {},
        backgroundColor: Colors.green.shade700),
    borderRadius: BorderRadius.circular(100),
    lightBlurRadius: 100,
    lightSpreadRadius: 50,
  borderColor: Colors.green.shade100
)

Additional information

Wanna improve this package? Contribute to project on

github : https://github.com/ojasjain24/neon_widgets_flutter

create issue : https://github.com/ojasjain24/neon_widgets_flutter/issues

Contributing rules :

1 : create an issue describing the feature.

2 : comment on this issue that you are interested in resolving this issue.

3 : Create a Pull request in dev branch.

카테고리

소스 저장소

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

아직 데이터가 없습니다.