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

flutter95 封面
插件详情v1.5.0

flutter95

适用于Flutter应用的Windows95 UI组件。使用这套即用型UI组件,重现旧操作系统的怀旧外观和感受。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
386
喜欢数
171
Pub 分数
140

安装插件

flutter pub add flutter95

插件介绍

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

flutter95 为 Flutter 应用程序提供了一组受 Windows 95 启发的 UI 组件,使开发者能够重现经典操作系统的怀旧美学。通过像素化按钮、渐变窗口和复古字体等真实视觉元素,它非常适合旨在唤起 2000 年代初期计算怀旧感的应用。该包完全兼容多个平台,包括 Android、iOS、Web、macOS、Windows 和 Linux,便于部署一致的复古主题体验。它专为趣味性、创意项目或需要复古外观的主题应用而设计。

适合场景

  • 复古主题的移动应用
  • 怀旧的网络体验
  • 游戏化界面
  • 创意原型
  • 具有历史主题的教育工具

主要特点

  • 真实的 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.

所属分类

源码仓库

使用此插件的项目

暂无相关数据。