Skip to main content

studio_ui 0.1.3 copy "studio_ui: ^0.1.3" to clipboard
studio_ui: ^0.1.3 copied to clipboard

Flutter controls for audio and media apps, with brushed studio panels, dimmable readouts, faders, transport keys, and coordinated light and dark themes.

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/.

0
likes
160
points
0
downloads
screenshot

Documentation

API reference

Publisher

verified publisherwenkaifan.com

Weekly Downloads

Flutter controls for audio and media apps, with brushed studio panels, dimmable readouts, faders, transport keys, and coordinated light and dark themes.

Homepage
Repository (GitHub)
View/report issues

Topics

#design-system #widget #ui #theme

License

BSD-3-Clause (license)

Dependencies

cupertino_ui, flutter, lucide_icons_flutter, material_ui, ui_core

More

Packages that depend on studio_ui