studio_ui

Studio is a Flutter design system for audio and media apps. It includes transport controls, faders, meters, charts, and a full set of navigation and form widgets in coordinated light and dark themes.

Roomtone, Studio's example podcast app, by day: its home at 1440 px beside the same page on a 390 px phone

Live gallery · API reference · All the looks

Getting started

The example below uses MaterialApp from material_ui. Add both packages, then load the bundled fonts before the first frame.

flutter pub add studio_ui material_ui
import 'package:material_ui/material_ui.dart';
import 'package:studio_ui/studio_ui.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await studioLoadFonts();
  runApp(
    MaterialApp(
      theme: ThemeData(
        pageTransitionsTheme: const PageTransitionsTheme(builders: studioPageTransitions),
      ),
      builder: (context, child) => StudioHost(child: child!),
      home: StudioScreen(
        topBar: const StudioAppBar(title: 'Library'),
        body: const StudioDisplay(child: Text('Rooms that sound right, 38 min.')),
        footer: StudioButton.lit('Publish', onPressed: () {}),
      ),
    ),
  );
}

StudioHost installs the theme, chassis and toast overlay. It also works in the builder of a CupertinoApp or WidgetsApp. Add studioPageTransitions to a Material theme to use Studio's transitions and the iOS back gesture.

Building a screen

Use StudioAppShell with StudioTab destinations for top-level navigation. The shell uses a bottom key bank below 600 logical pixels, a rail from 600, and a side panel from 1024. A StudioScreen arranges the app bar, body and optional footer. Use StudioDisplay for readable content on smooth glass.

Buttons, filters and pickers support keyboard navigation and right-to-left layouts. Arrow keys move between tabs. When a dialog closes, focus returns to its trigger. For a destructive confirmation, pass isAlert: true to showStudioDialog.

Customizing Studio

Set the indicator and panel finish with StudioThemeData.from. Set a component style such as buttonStyle or textFieldStyle on the theme to apply it throughout an app, or pass a StudioStyle to an individual widget. Its state properties can change with focus, selection or a press.

textureStrength controls the grain on metal surfaces. High-contrast mode removes the grain. Build custom controls with the same materials using StudioSurface, StudioFace, StudioLamp and StudioReadout.

Fonts

Studio bundles Barlow under the SIL Open Font License 1.1. The license is included in assets/fonts/LICENSES/.

Libraries

studio_host
Studio's host layer, for an app that shows the look's screens in a shell of its own: the scaffold every look shares (package:ui_core/host.dart: its tabs, its main action, its background and insets, the preview frame and platform) and Studio's own part of it. An app that draws its screens from package:studio_ui/studio_ui.dart does not need this library; the look's own chrome, gallery and tests import it beside that one.
studio_parts
Helpers for customizing components copied from studio_ui.
studio_ui
Studio: an app as a well-made piece of studio equipment. Brushed anodised panels with machined edges, recessed glass displays, backlit keys with an indicator light, faders, knobs, toggles and segment meters, under one light from the top, by day in a bright room and by night in low light.