搜尋套件、儲存庫與 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 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。