Cupertino 小部件
美观且保真度高的 Widget,符合 Apple 的 iOS 和 macOS 人机界面指南。

iOS 风格的模态底部操作表单,用于在多个选项中选择一个。

通常用于 CupertinoActionSheet 中的按钮。

iOS 风格的活动指示器。显示一个圆形“旋转器”。

当前平台文本选择的默认 Cupertino 上下文菜单,包含给定的子元素。

iOS 风格的警告对话框。

使用 Cupertino 设计的应用程序。

iOS 风格的按钮。

macOS 风格的复选框。

一组 Color 常量,用于描述与 iOS 平台美学相匹配的常用颜色。

iOS 风格的全屏模态路由,当长按子元素时打开。用于显示内容的相关操作。

ContextMenuSheet 中的按钮。

iOS 风格的日期或日期和时间选择器。
桌面 Cupertino 风格的文本选择控件。

macOS 风格的文本选择工具栏。

macOS 上下文菜单按钮样式的按钮。

通常用于 CupertinoAlertDialog 中的按钮。
显示 iOS 风格对话框的对话框路由。
表示颜色系列以及颜色系列中正确有效颜色的 Color 子类。

iOS 风格的表单行。

iOS 风格的表单部分。

用于调用全屏对话框的 iOS 风格过渡。
CupertinoTheme 的样式规范。

使用 iOS 样式显示可滚动视图的容器。

使用 iOS 样式在列表中创建行的块。

典型的 iOS 尾部 Widget,用于表示 CupertinoListTile 是具有操作的按钮。
定义 Cupertino Widget 使用的本地化资源值。
用于放大文本的 RawMagnifier,在用户手指可能遮挡兴趣点(如选择句柄)的情况下使用。
显示 iOS 风格模态弹出窗口的路由,该弹出窗口从屏幕底部向上滑动。

屏幕顶部的容器,使用 iOS 样式。许多开发人员将其与 `CupertinoPageScaffold` 一起使用。

通常用于 CupertinoNavigationBar 中的导航栏后退按钮。
创建一个 cupertino 样式 PageRoute 的页面。
模态路由,使用 iOS 过渡替换整个屏幕。
基本的 iOS 样式页面布局结构。在背景上放置导航栏和内容。

提供 iOS 样式的页面过渡动画。

iOS 风格的选择器控件。用于在短列表中选择一个项目。
CupertinoPicker 的默认选择覆盖层。
看起来像 iOS 弹出窗口表面(如警告对话框或操作表单)的圆角矩形表面。

macOS 风格的单选按钮。

iOS 风格的滚动条,指示可滚动 Widget 的哪个部分当前可见。
描述 Scrollable Widget 在 CupertinoApp 中的行为。

iOS 风格的搜索字段。

iOS 风格的分段控件。用于在水平列表中选择互斥选项。

用于从一系列值中进行选择。

iOS 13 风格的分段控件。用于在水平列表中选择互斥选项。

使用 sliver 的 iOS 11 风格大标题导航栏。
一个 sliver Widget,实现了 iOS 风格的下拉刷新内容控件。

iOS 的默认拼写检查建议工具栏。

iOS 风格的开关。用于切换单个设置的开/关状态。

iOS 风格的底部标签栏。通常与 CupertinoTabScaffold 一起使用。
协调 CupertinoTabBar 和 CupertinoTabScaffold 之间的标签选择。

选项卡式 iOS 应用程序结构。在内容选项卡的顶部放置标签栏。

支持选项卡之间并行导航的选项卡的根内容。通常与 CupertinoTabScaffold 一起使用。

iOS 风格的文本字段。

创建一个包含包装 CupertinoTextField 的 FormField 的 CupertinoFormRow。

用于放大文本的 CupertinoMagnifier,在用户手指可能遮挡兴趣点(如选择句柄)的情况下使用。
iOS 风格的文本选择控件。

iOS 风格的文本选择工具栏。

iOS 文本选择工具栏按钮样式的按钮。
CupertinoThemeData 中的 Cupertino 排版主题。
将视觉样式主题应用于后代 Cupertino Widget。
绘制 iOS 风格的滑块拇指或开关拇指。

iOS 风格的倒计时计时器选择器。
在Widget 目录中查找更多 Widget。
除非另有说明,否则本网站上的文档反映了 Flutter 的最新稳定版本。页面上次更新于 2024-09-11。 查看源代码 或 报告问题.