Unverified Commit dfa4fd23 authored by Pierre-Louis's avatar Pierre-Louis Committed by GitHub

Add missing HIG links to cupertino documentation (#103110)

parent 750ad328
...@@ -55,6 +55,7 @@ const Color _kDefaultTabBarInactiveColor = CupertinoColors.inactiveGray; ...@@ -55,6 +55,7 @@ const Color _kDefaultTabBarInactiveColor = CupertinoColors.inactiveGray;
/// ///
/// * [CupertinoTabScaffold], which hosts the [CupertinoTabBar] at the bottom. /// * [CupertinoTabScaffold], which hosts the [CupertinoTabBar] at the bottom.
/// * [BottomNavigationBarItem], an item in a [CupertinoTabBar]. /// * [BottomNavigationBarItem], an item in a [CupertinoTabBar].
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/bars/tab-bars/>
class CupertinoTabBar extends StatelessWidget implements PreferredSizeWidget { class CupertinoTabBar extends StatelessWidget implements PreferredSizeWidget {
/// Creates a tab bar in the iOS style. /// Creates a tab bar in the iOS style.
const CupertinoTabBar({ const CupertinoTabBar({
......
...@@ -91,7 +91,7 @@ enum _ContextMenuLocation { ...@@ -91,7 +91,7 @@ enum _ContextMenuLocation {
/// ///
/// See also: /// See also:
/// ///
/// * [Apple's HIG for Context Menus](https://developer.apple.com/design/human-interface-guidelines/ios/controls/context-menus/) /// * <https://developer.apple.com/design/human-interface-guidelines/ios/controls/context-menus/>
class CupertinoContextMenu extends StatefulWidget { class CupertinoContextMenu extends StatefulWidget {
/// Create a context menu. /// Create a context menu.
/// ///
......
...@@ -218,6 +218,7 @@ enum _PickerColumnType { ...@@ -218,6 +218,7 @@ enum _PickerColumnType {
/// ///
/// * [CupertinoTimerPicker], the class that implements the iOS-style timer picker. /// * [CupertinoTimerPicker], the class that implements the iOS-style timer picker.
/// * [CupertinoPicker], the class that implements a content agnostic spinner UI. /// * [CupertinoPicker], the class that implements a content agnostic spinner UI.
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/controls/pickers/>
class CupertinoDatePicker extends StatefulWidget { class CupertinoDatePicker extends StatefulWidget {
/// Constructs an iOS style date picker. /// Constructs an iOS style date picker.
/// ///
...@@ -1508,6 +1509,7 @@ enum CupertinoTimerPickerMode { ...@@ -1508,6 +1509,7 @@ enum CupertinoTimerPickerMode {
/// * [CupertinoDatePicker], the class that implements different display modes /// * [CupertinoDatePicker], the class that implements different display modes
/// of the iOS-style date picker. /// of the iOS-style date picker.
/// * [CupertinoPicker], the class that implements a content agnostic spinner UI. /// * [CupertinoPicker], the class that implements a content agnostic spinner UI.
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/controls/pickers/>
class CupertinoTimerPicker extends StatefulWidget { class CupertinoTimerPicker extends StatefulWidget {
/// Constructs an iOS style countdown timer picker. /// Constructs an iOS style countdown timer picker.
/// ///
......
...@@ -237,6 +237,7 @@ bool _isTransitionable(BuildContext context) { ...@@ -237,6 +237,7 @@ bool _isTransitionable(BuildContext context) {
/// [CupertinoNavigationBar]. /// [CupertinoNavigationBar].
/// * [CupertinoSliverNavigationBar] for a navigation bar to be placed in a /// * [CupertinoSliverNavigationBar] for a navigation bar to be placed in a
/// scrolling list and that supports iOS-11-style large titles. /// scrolling list and that supports iOS-11-style large titles.
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/bars/navigation-bars/>
class CupertinoNavigationBar extends StatefulWidget implements ObstructingPreferredSizeWidget { class CupertinoNavigationBar extends StatefulWidget implements ObstructingPreferredSizeWidget {
/// Creates a navigation bar in the iOS style. /// Creates a navigation bar in the iOS style.
const CupertinoNavigationBar({ const CupertinoNavigationBar({
...@@ -573,6 +574,7 @@ class _CupertinoNavigationBarState extends State<CupertinoNavigationBar> { ...@@ -573,6 +574,7 @@ class _CupertinoNavigationBarState extends State<CupertinoNavigationBar> {
/// * [CupertinoNavigationBar], an iOS navigation bar for use on non-scrolling /// * [CupertinoNavigationBar], an iOS navigation bar for use on non-scrolling
/// pages. /// pages.
/// * [CustomScrollView], a ScrollView that creates custom scroll effects using slivers. /// * [CustomScrollView], a ScrollView that creates custom scroll effects using slivers.
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/bars/navigation-bars/>
class CupertinoSliverNavigationBar extends StatefulWidget { class CupertinoSliverNavigationBar extends StatefulWidget {
/// Creates a navigation bar for scrolling lists. /// Creates a navigation bar for scrolling lists.
/// ///
......
...@@ -39,6 +39,9 @@ import 'text_field.dart'; ...@@ -39,6 +39,9 @@ import 'text_field.dart';
/// ** See code in examples/api/lib/cupertino/search_field/cupertino_search_field.1.dart ** /// ** See code in examples/api/lib/cupertino/search_field/cupertino_search_field.1.dart **
/// {@end-tool} /// {@end-tool}
/// ///
/// See also:
///
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/bars/search-bars/>
class CupertinoSearchTextField extends StatefulWidget { class CupertinoSearchTextField extends StatefulWidget {
/// Creates a [CupertinoTextField] that mimics the look and behavior of /// Creates a [CupertinoTextField] that mimics the look and behavior of
/// UIKit's `UISearchTextField`. /// UIKit's `UISearchTextField`.
......
...@@ -168,6 +168,7 @@ class _CupertinoTextFieldSelectionGestureDetectorBuilder extends TextSelectionGe ...@@ -168,6 +168,7 @@ class _CupertinoTextFieldSelectionGestureDetectorBuilder extends TextSelectionGe
/// * [EditableText], which is the raw text editing control at the heart of a /// * [EditableText], which is the raw text editing control at the heart of a
/// [TextField]. /// [TextField].
/// * Learn how to use a [TextEditingController] in one of our [cookbook recipes](https://flutter.dev/docs/cookbook/forms/text-field-changes#2-use-a-texteditingcontroller). /// * Learn how to use a [TextEditingController] in one of our [cookbook recipes](https://flutter.dev/docs/cookbook/forms/text-field-changes#2-use-a-texteditingcontroller).
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/controls/text-fields/>
class CupertinoTextField extends StatefulWidget { class CupertinoTextField extends StatefulWidget {
/// Creates an iOS-style text field. /// Creates an iOS-style text field.
/// ///
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment