Search categories, packages and repositories

nes_ui cover
Package detailsv0.32.0

nes_ui

UI library inspired by old retro video game console

AndroidiOSWebmacOSWindowsLinux
30-day downloads
1.2K
Likes
120
Pub points
150

Install package

flutter pub add nes_ui

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter widget library that brings retro video game console aesthetics to modern apps, inspired by classic NES-style design. It provides a collection of customizable UI components with pixelated fonts, vintage color palettes, and nostalgic visual effects like scanlines and CRT screen distortions. Ideal for games, themed applications, or creative projects seeking a throwback feel. The package supports all major platforms, ensuring consistent retro styling across devices.

Use cases

  • Retro-themed mobile games
  • Vintage-inspired app interfaces
  • Interactive digital art installations
  • Educational apps with nostalgic design
  • Creative prototypes with pixel art aesthetics

Key features

  • NES-inspired visual style
  • Pixel-perfect UI components
  • Scanline and CRT effects
  • Cross-platform compatibility
  • Customizable retro color schemes
  • Support for responsive retro layouts

Suitable for

  • Developers creating retro gaming experiences
  • Designers exploring nostalgic UI trends
  • App creators wanting unique visual identity
  • Flutter beginners learning widget customization
  • Projects aiming for playful, low-fi aesthetics

Considerations

  • May not suit professional or minimalist design needs
  • Performance impact from visual effects on older devices
  • Limited accessibility features in retro styling
  • Requires careful contrast adjustment for readability
  • Not ideal for content-heavy or data-driven applications

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Nes

style: very good analysis Powered by Mason License: MIT

UI library inspired by old retro video game console

Our top sponsors

Check out these amazing sponsors that support my work!


Invertase

Become a featured sponsor!

Installation 💻

❗ In order to start using Nes UI you must have the Flutter SDK installed on your machine.

Add nes_ui to your pubspec.yaml:

dependencies:
  nes_ui:

Install it:

flutter packages get

Configure it

Nes UI provides a ThemeData that you can add to your MaterialApp, that theme can be obtained from the flutterNesTheme method:

import 'package:nes_ui/nes_ui.dart';

MaterialApp(
  theme: flutterNesTheme(),
);

Check the many arguments on the method to customize the theme.

Font

Nes UI uses the Press start 2P from the Google Fonts package.

Google fonts will fetch the files in runtime over http. To keep that behaviour and ensure that it works, be sure to call WidgetsFlutterBinding.ensureInitialized(); at your main method.

For more info on that follow this Google Fonts package guide.

If instead you want to bundle the fonts in the app and avoid http requests, follow this other guide.

You also should include the font license on LicenseRegistry when bundling it on the app.

For example:

void main() {
  LicenseRegistry.addLicense(() async* {
    final license = await rootBundle.loadString('google_fonts/OFL.txt');
    yield LicenseEntryWithLineBreaks(['google_fonts'], license);
  });

  runApp(...);
}

More about font license here.

Widget gallery

Find all the widgets in this catalog made on Widgetbook.

Getting help

If you need any help or have suggestions, join our Discord.

Material Customized Widgets

Nes UI tries to use the most out of material that it can, customizing its looks to fit the package's desired look, for example, here is a list of some of the widgets that Nes ui customizes:

  • Text
  • TextField/TextFormField
  • Divider
  • ...

Custom Widgets

Some widgets are too different from the Material look and structure, making the customization of the material widget not really possible, so many widgets are built from scratch, here is a list of some of the widgets that Nes UI provides:

  • NesButton
  • NesCheckbox
  • NesContainer
  • NesConfirmDialog
  • NesIcon
  • NesSelectionList
  • NesIterableOptions
  • ...

Custom Extension

Nes UI is built taking advantage of the Theme Extensions and custom extensions can also be provided. In order to provide your own extension, you need to create it, and provide it to the flutterNesTheme:

    theme: flutterNesTheme(
      brightness: state.lightMode ? Brightness.light : Brightness.dark,
      customExtensions: [
        CustomExampleExtension.light, // Your custom extension goes here.
      ],
    ),

For more information, look at the example code.

Support this project 💙

Categories

Dependencies

Dependency list 5 items

Source repository

Projects using this package