p-hatan/ mirror

pub repository

mirror.p-hatan.ir

cupertino_ui

0.0.3

The official Flutter Cupertino Design Library, implementing the iOS design system.

Download archive

Readme

cupertino_ui

Coming soon - the official Cupertino widget library for Flutter as its own standalone package!

cupertino_ui will contain the standard collection of high-fidelity visual components that implement the latest iOS design language (buttons, navigation bars, pickers, etc.).

Note: This package will contain the cupertino library previously part of the Flutter framework itself (package:flutter/cupertino.dart). It is being decoupled to allow for faster iteration and a more modular ecosystem.

What's (going to be) inside?

This package will provide the Cupertino widgets you know and love, including but not limited to:

  • Structure: CupertinoPageScaffold, CupertinoNavigationBar
  • Inputs: CupertinoButton, CupertinoTextField, CupertinoSwitch
  • Dialogs: CupertinoAlertDialog, CupertinoActionSheet

Once landed and published, look forward to updates from iOS26! ๐Ÿš€

Feedback & roadmap

We are currently migrating the Cupertino library out of the core framework.

Changelog

0.0.3

  • Fix API doc by clearing unsupported directives introduced by macros.
  • Fix API doc references.
  • Adds CupertinoUiCompatibilityBridge for legacy flutter/cupertino.dart compatibility.
  • Refactors examples to not cross-import material_ui.

0.0.2

  • Copies over all Cupertino code from flutter/flutter.
  • Copies over Cupertino localizations from flutter/flutter's flutter_localizations package.
  • Migrates API doc samples and formatting.
  • Updates minimum supported SDK version to Flutter 3.44/Dart 3.12.

0.0.1

  • Initial setup of the cupertino_ui package, preparing for decoupling Cupertino widgets from the Flutter framework.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add cupertino_ui
pubspec.yaml
name: cupertino_ui
description: The official Flutter Cupertino Design Library, implementing the iOS design system.
version: 0.0.3
repository: https://github.com/flutter/packages/tree/main/packages/cupertino_ui
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A%20cupertino%22

environment:
  sdk: ^3.12.0
  flutter: ">=3.44.0"

dependencies:
  collection: ^1.19.1
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  intl: ^0.20.2

dev_dependencies:
  clock: ^1.1.2
  flutter_goldens:
    path: ../../script/flutter_goldens
  flutter_test:
    sdk: flutter
  # To track memory leaks.
  leak_tracker_flutter_testing: ^3.0.10
  material_ui: ^0.0.2
  path: ^1.9.1

topics:
  - ui
  - widgets
  - cupertino
  - ios

Version history

VersionPublishedArchiveSHA-256
0.0.12026-02-18T16:46:00.205480ZDownload1fa3c6bf0925e96c7235ab4f1a6c701cc07e3c7abe13aa4e3d1219e651586615
0.0.22026-07-21T20:57:56.635426ZDownload427360789a03b76eaf659c37131570d2fc98e381f80d55f252bd9e30f37e7126
0.0.32026-08-04T20:41:15.906777ZDownloadd2fdf425cdb4d003538223869b31ef6d25049e70e0259ffd742859177e9000b9
0.0.3+12026-08-10T21:29:13.261316ZDownload58191e8c198d274d299b4a92e5fa9bf1abf1d870067cf064b67f2217957aefe9
1.0.02026-08-12T19:04:21.957975ZDownload7ed8ce4159d342eec4c65f4ea6eec57adaf9365404378541f38efc1da20a5b3d
1.0.12026-08-24T16:06:04.511585ZDownload2137c0d41f3b62cc4d3d2495e6c354bd6b6133cd21c6bb155736cc31dbd49a11
1.0.22026-09-02T16:21:48.930457ZDownloade9dfe7fac704028f8928cbe4028a0be5e8a709498e8daf8247de99e99a32aef3
1.1.02026-09-15T16:44:49.900045ZDownloadc6747018d37d32feeeb858a1d7043831cb541460ebe1a890a995cdb8df8ea5a5
1.1.12026-09-21T23:50:30.044559ZDownloadc23816577a1280cff409e989541767887011f8f1d8c1863a794ed308af46f2a9
1.1.22026-10-06T21:37:24.237146ZDownloadea0b8170b40a86262b2fc21ac0625303f52df209dbf6fccc2b98b27eff44f6ce
1.1.32026-10-14T18:39:39.444384ZDownload8e14acc2817ff469b925b0e275ab85ecc6c769621360dd0af1331c47f916e247
1.1.42026-10-20T16:26:44.794805ZDownloada47c4e7c66fd7444a063a602597fceb238f705c3f6b1322bc0053d0a2638ee6e
1.1.52026-10-29T16:02:21.251452ZDownloade003b87afde18cb396ec15928c7894063d64af04462c68df9a1404c461316dd2

Dependencies

collection "^1.19.1"

flutter { "sdk": "flutter" }

flutter_localizations { "sdk": "flutter" }

intl "^0.20.2"