搜索插件、代码仓与 APP 分类

neon 封面
插件详情v0.1.0

neon

一个 Flutter 插件,可让您在应用中使用漂亮的霓虹灯招牌。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
117
喜欢数
43
Pub 分数
140

安装插件

flutter pub add neon

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Neon 是一个 Flutter 插件,可帮助开发者轻松地将视觉冲击力强的霓虹灯标志集成到他们的应用程序中。它提供可自定义的霓虹效果,包括鲜艳的发光、颜色渐变和流畅的动画,从而增强文本元素的视觉吸引力。适用于现代 UI、游戏应用或创意界面,支持 Android、iOS、Web、macOS、Windows 和 Linux 等多个平台。该插件轻量且易于使用,通过简单的 widget API 即可快速实现。

适合场景

  • 创建引人注目的应用标题
  • 增强游戏或音乐应用界面
  • 在仪表板中添加动态文本效果
  • 设计未来主义或复古主题的应用程序
  • 实现动画欢迎屏幕

主要特点

  • 鲜艳的霓虹光效
  • 可自定义的颜色和不透明度
  • 平滑的动画过渡
  • 跨平台兼容性
  • 基于 Widget 的简单 API
  • 支持文本阴影和轮廓

适合对象

  • 寻求视觉魅力的UI设计师
  • 开发创意或娱乐类应用的开发者
  • 需要动画文本元素的项目
  • 面向年轻或技术娴熟受众的应用
  • 原型设计未来感或风格化的界面

使用建议

  • 可能会影响低端设备的性能
  • 发光效果在所有平台上的渲染可能不一致
  • 需要仔细考虑对比度以确保可读性
  • 不太适合极简或专业设计场景
  • 超出基础霓虹风格之外的自定义功能有限

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

neon

Neon

A Flutter plugin that allows you to use beautiful neon signs in your app. Link

description

As it is mentioned above, the plugin allows you to put neon style'sh signs into your app. There are several parameters for tunning:

String text - the actual text of the sign

MaterialColor color - text's color

double fontSize - text's size

NeonFont font - build-in fonts for the text:

- Automania
- Beon
- Cyberpunk
- LasEnter
- Membra
- Monoton
- Night-Club-70s
- Samarin
- TextMeOne

bool flickeringText - if the parameter is true text will be flickering with random frequency

List flickeringLetters - indexes of the letters in the text that will be flickering (if the parameter is null and flickeringText == true all the text will be flickering)

double blurRadius - radius of the blur effect

bool glowing - glowing parameter (glows if it's true)

Duration glowingDuration - the duration of the glowing

TextStyle textStyle - custom style for the text

code example

Neon(
    text: 'Retro',
    color: Colors.green,
    fontSize: 50,
    font: NeonFont.Membra,
    flickeringText: true,
    flickeringLetters: [0,1],
)

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目

暂无相关数据。