Cupertino design for Flutter
The Flutter Cupertino library is a collection of widgets that implement Apple's iOS design language for Flutter apps. The widgets have a similar look and feel to iOS, including rounded corners, gradients, and minimalistic design. They also include iOS interactions and animations.
The following 15-minute video provides a high-level glimpse of the Cupertino package:
Watch on YouTube in a new tab: "Flutter's Cupertino Package"
More information
#To learn more about using the Cupertino package with Flutter, check out the following resources:
- The (mostly visual) Cupertino widget catalog on doc.flutter.dev
- The Cupertino library page in the API docs
- The Cupertino API examples on the flutter/flutter
repo. (Instructions) For example,
to run
CupertinoSwitch
:
cd path/to/flutter
cd examples/api
flutter run lib/cupertino/switch/cupertino_switch.0.dart
除非另有说明,本文档之所提及适用于 Flutter 的最新稳定版本,本页面最后更新时间: 2025-04-02。 查看文档源码 或者 为本页面内容提出建议.