Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit dfa4fd2

Browse files
authored
Add missing HIG links to cupertino documentation (#103110)
1 parent 750ad32 commit dfa4fd2

File tree

6 files changed

+10
-1
lines changed

6 files changed

+10
-1
lines changed

packages/flutter/lib/src/cupertino/bottom_tab_bar.dart

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ const Color _kDefaultTabBarInactiveColor = CupertinoColors.inactiveGray;
5555
///
5656
/// * [CupertinoTabScaffold], which hosts the [CupertinoTabBar] at the bottom.
5757
/// * [BottomNavigationBarItem], an item in a [CupertinoTabBar].
58+
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/bars/tab-bars/>
5859
class CupertinoTabBar extends StatelessWidget implements PreferredSizeWidget {
5960
/// Creates a tab bar in the iOS style.
6061
const CupertinoTabBar({

packages/flutter/lib/src/cupertino/context_menu.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ enum _ContextMenuLocation {
9191
///
9292
/// See also:
9393
///
94-
/// * [Apple's HIG for Context Menus](https://developer.apple.com/design/human-interface-guidelines/ios/controls/context-menus/)
94+
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/controls/context-menus/>
9595
class CupertinoContextMenu extends StatefulWidget {
9696
/// Create a context menu.
9797
///

packages/flutter/lib/src/cupertino/date_picker.dart

+2
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ enum _PickerColumnType {
218218
///
219219
/// * [CupertinoTimerPicker], the class that implements the iOS-style timer picker.
220220
/// * [CupertinoPicker], the class that implements a content agnostic spinner UI.
221+
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/controls/pickers/>
221222
class CupertinoDatePicker extends StatefulWidget {
222223
/// Constructs an iOS style date picker.
223224
///
@@ -1508,6 +1509,7 @@ enum CupertinoTimerPickerMode {
15081509
/// * [CupertinoDatePicker], the class that implements different display modes
15091510
/// of the iOS-style date picker.
15101511
/// * [CupertinoPicker], the class that implements a content agnostic spinner UI.
1512+
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/controls/pickers/>
15111513
class CupertinoTimerPicker extends StatefulWidget {
15121514
/// Constructs an iOS style countdown timer picker.
15131515
///

packages/flutter/lib/src/cupertino/nav_bar.dart

+2
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ bool _isTransitionable(BuildContext context) {
237237
/// [CupertinoNavigationBar].
238238
/// * [CupertinoSliverNavigationBar] for a navigation bar to be placed in a
239239
/// scrolling list and that supports iOS-11-style large titles.
240+
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/bars/navigation-bars/>
240241
class CupertinoNavigationBar extends StatefulWidget implements ObstructingPreferredSizeWidget {
241242
/// Creates a navigation bar in the iOS style.
242243
const CupertinoNavigationBar({
@@ -573,6 +574,7 @@ class _CupertinoNavigationBarState extends State<CupertinoNavigationBar> {
573574
/// * [CupertinoNavigationBar], an iOS navigation bar for use on non-scrolling
574575
/// pages.
575576
/// * [CustomScrollView], a ScrollView that creates custom scroll effects using slivers.
577+
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/bars/navigation-bars/>
576578
class CupertinoSliverNavigationBar extends StatefulWidget {
577579
/// Creates a navigation bar for scrolling lists.
578580
///

packages/flutter/lib/src/cupertino/search_field.dart

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ import 'text_field.dart';
3939
/// ** See code in examples/api/lib/cupertino/search_field/cupertino_search_field.1.dart **
4040
/// {@end-tool}
4141
///
42+
/// See also:
43+
///
44+
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/bars/search-bars/>
4245
class CupertinoSearchTextField extends StatefulWidget {
4346
/// Creates a [CupertinoTextField] that mimics the look and behavior of
4447
/// UIKit's `UISearchTextField`.

packages/flutter/lib/src/cupertino/text_field.dart

+1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ class _CupertinoTextFieldSelectionGestureDetectorBuilder extends TextSelectionGe
168168
/// * [EditableText], which is the raw text editing control at the heart of a
169169
/// [TextField].
170170
/// * 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).
171+
/// * <https://developer.apple.com/design/human-interface-guidelines/ios/controls/text-fields/>
171172
class CupertinoTextField extends StatefulWidget {
172173
/// Creates an iOS-style text field.
173174
///

0 commit comments

Comments
 (0)