搜尋套件、儲存庫與 APP 分類

flutter95 封面
套件詳情v1.5.0

flutter95

適用於Flutter應用的Windows95 UI元件。使用這套即用型UI元件,重現舊作業系統的懷舊外觀與感受。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
386
喜歡數
171
Pub 分數
140

安裝套件

flutter pub add flutter95

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

flutter95 提供一組受 Windows 95 啟發的 UI 元件,適用於 Flutter 應用程式,讓開發者能重現經典作業系統的懷舊美學。透過真實的視覺元素,例如像素化按鈕、漸層視窗與復古字型,非常適合希望喚起 2000 年代初期電腦懷舊感的應用。此套件完全相容於多個平台,包含 Android、iOS、Web、macOS、Windows 與 Linux,方便部署一致的復古主題體驗。專為有趣、創意專案或需要 Vintage 外觀的主題應用所設計。

適用情境

  • 復古主題的移動應用
  • 懷舊的網路體驗
  • 遊戲化介面
  • 創意原型
  • 具有歷史主題的教育工具

主要特色

  • 真實的 Windows 95 設計語言
  • 跨平台相容性
  • 即用型 UI 小部件
  • 可自訂的復古風格
  • 開源且持續維護

適合對象

  • 尋求懷舊使用者介面的開發者
  • 注重設計的原型設計
  • 有趣或實驗性應用
  • 具有復古主題的項目

使用建議

  • 不適合專業或現代UI標準
  • 可能需要額外的樣式以確保可訪問性
  • 主流應用的可用性有限
  • 視覺風格可能不會吸引所有觀眾

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Flutter95

Windows95 UI components for Flutter apps.

Screenshots

Screenshot

Components

Scaffold95

Scaffold as a Windows95 styled window.

  • Provides title.
  • Optional: toolbar that requires Item95 action items.
Screenshot
  • If a scaffold canPop (meaning it is not a root of the app) then a close button appears.
Screenshot
Scaffold95(
  title: 'Flutter95',
  toolbar: Toolbar95(
    actions: [
      Item95(
        label: 'File', 
        onTap: () {},
      ),
    ],
  ),
  body: Container(),
)

You can provide a custom WindowHeader95 to override the default Scaffold95 header.

Scaffold95(
  customHeader: WindowHeader95(
    child: Row(/* etc */),
  ),
  body: Container(),
)
Menu95

Windows95 styled menu.

Screenshot
  • Easy API wrapping Material's showMenu.
Menu95(
  items: [
    MenuItem95(
      value: 1,
      label: 'New',
    ),
    MenuItem95(
      value: 2,
      label: 'Open',
    ),
    MenuItem95(
      value: 3,
      label: 'Exit',
    ),
  ],
  onItemSelected: (item) {},
);
  • Display using show(context, position).
menu.show(
  context,
  Offset(50, 100),
);
  • Use it directly with Item95 to be positioned automatically.
Item95(
  label: 'File',
  menu: Menu95(...),
),
Button95

Windows95 styled button.

  • Provides default text style for child widgets.
  • Provides default padding for children.
  • If onTap is null, acts as a disabled button.
Button95(
  onTap: () {},
  child: Text('Button95'),
)
Checkbox95

Windows95 styled checkbox

  • Provides label in windows95 style.
  • If onChanged is null, acts as a disabled checkbox.
Checkbox95(
    value: value,
    label: "Some Label", // optional, if null no label is shown
    onChanged: (value) {}, // optional, if null acts as a disabled checkbox
)
Checkbox95
TextField95

TextField styled as a Windows95 text field.

  • Uses a Material TextField internally.
TextField95()
Tooltip95

A tooltip widget designed in Windows95 style.

  • Works just like Material's Tooltip.
Tooltip95(
    message: 'Hello from Flutter95!',
    child: Text('I have a tooltip for you!'),
)
Tooltip95
Divider95

A divider widget designed in Windows95 style.

  • Works just like Material's Divider.
  • Supports indent, endIndent and height.
Divider95()
Divider95
Elevation95

Creates an effect of deepness and elevation around Widgets.

Elevation95(
  child: Text('Elevated Text')
)
Flutter95.textStyle

TextStyle ready to use that copies the Windows95 text style.

Text(
  'Text with Flutter95.textStyle',
  style: Flutter95.textStyle,
);
Dialogs
showDialog95(
  context: context,
  title: 'Error',
  message: 'Task failed successfully',
);
Dialog

Contributing

You can contribute in different ways:

  • Creating new Windows95 styled components.
    • Please include screenshots in your PRs!
    • Please update the example and tests to include the new component!
  • Improving existing components with better options.
  • Improving documentation both in code and this README file.
  • Creating more tests.
  • Improving CI scripts.
  • Fixing lint issues.
  • Creating feature requests.
    • Please include a screenshot.
    • Also don't expect a quick response, this is a hobby project.
  • Reporting bugs.

Acknowledgments

Heavily inspired by React95.

Featured in My Windows 95 ChatGPT app by @filiph.

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。