talira

cupertino_ui

Flutter's official iOS- and macOS-style (Cupertino) widget library

open sourceBSD-3-Clausefree

cupertino_ui is the Flutter team's official Cupertino library, implementing Apple's Human Interface Guidelines for Flutter apps: visual components, motion, typography, a color system and theming for iOS- and macOS-style interfaces on any screen size. It used to be built into the Flutter framework as package:flutter/cupertino.dart and now lives as its own package in the flutter/packages monorepo; a Dart fix (dart fix --apply --code=migrate_design_widgets) moves imports over, and CupertinoUiCompatibilityBridge lets widgets that still import the old library work in new widget trees. Its Material Design companion is material_ui.

Problems it solves

  • make my Flutter app look like a native iOS app
  • build macOS-style screens in a Flutter desktop app
  • move a Flutter app off package:flutter/cupertino.dart

Features

  • iOS- and macOS-style components, motion, typography, color system and theming
  • dart fix migration from package:flutter/cupertino.dart
  • CupertinoUiCompatibilityBridge for widgets that still use the old library
  • Its own GlobalCupertinoLocalizations

Alternatives

The same job

These do what cupertino_ui does.

  1. material_ui Flutter's official Material Design library

Compare cupertino_ui with the top 3