Commit 396142b6 authored by Levin Rickert's avatar Levin Rickert Committed by Alexandre Ardhuin

Fixed broken links to apple human interface guidelines (#13132)

parent e792c6bb
...@@ -12,7 +12,7 @@ import 'colors.dart'; ...@@ -12,7 +12,7 @@ import 'colors.dart';
/// ///
/// See also: /// See also:
/// ///
/// * <https://developer.apple.com/ios/human-interface-guidelines/ui-controls/progress-indicators/#activity-indicators> /// * <https://developer.apple.com/ios/human-interface-guidelines/controls/progress-indicators/#activity-indicators>
class CupertinoActivityIndicator extends StatefulWidget { class CupertinoActivityIndicator extends StatefulWidget {
/// Creates an iOS-style activity indicator. /// Creates an iOS-style activity indicator.
const CupertinoActivityIndicator({ const CupertinoActivityIndicator({
......
...@@ -42,7 +42,7 @@ const EdgeInsets _kBackgroundButtonPadding = const EdgeInsets.symmetric( ...@@ -42,7 +42,7 @@ const EdgeInsets _kBackgroundButtonPadding = const EdgeInsets.symmetric(
/// ///
/// See also: /// See also:
/// ///
/// * <https://developer.apple.com/ios/human-interface-guidelines/ui-controls/buttons/> /// * <https://developer.apple.com/ios/human-interface-guidelines/controls/buttons/>
class CupertinoButton extends StatefulWidget { class CupertinoButton extends StatefulWidget {
/// Creates an iOS-style button. /// Creates an iOS-style button.
const CupertinoButton({ const CupertinoButton({
...@@ -82,7 +82,7 @@ class CupertinoButton extends StatefulWidget { ...@@ -82,7 +82,7 @@ class CupertinoButton extends StatefulWidget {
/// ///
/// See also: /// See also:
/// ///
/// * <https://developer.apple.com/ios/human-interface-guidelines/visual-design/layout/> /// * <https://developer.apple.com/ios/human-interface-guidelines/visual-design/adaptivity-and-layout/>
final double minSize; final double minSize;
/// The opacity that the button will fade to when it is pressed. /// The opacity that the button will fade to when it is pressed.
......
...@@ -60,7 +60,7 @@ const BoxDecoration _kCupertinoDialogBackFill = const BoxDecoration( ...@@ -60,7 +60,7 @@ const BoxDecoration _kCupertinoDialogBackFill = const BoxDecoration(
/// ///
/// * [CupertinoAlertDialog], which is a dialog with title, contents, and /// * [CupertinoAlertDialog], which is a dialog with title, contents, and
/// actions. /// actions.
/// * <https://developer.apple.com/ios/human-interface-guidelines/ui-views/alerts/> /// * <https://developer.apple.com/ios/human-interface-guidelines/views/alerts/>
class CupertinoDialog extends StatelessWidget { class CupertinoDialog extends StatelessWidget {
/// Creates an iOS-style dialog. /// Creates an iOS-style dialog.
const CupertinoDialog({ const CupertinoDialog({
...@@ -108,7 +108,7 @@ class CupertinoDialog extends StatelessWidget { ...@@ -108,7 +108,7 @@ class CupertinoDialog extends StatelessWidget {
/// See also: /// See also:
/// ///
/// * [CupertinoDialog], which is a generic iOS-style dialog. /// * [CupertinoDialog], which is a generic iOS-style dialog.
/// * <https://developer.apple.com/ios/human-interface-guidelines/ui-views/alerts/> /// * <https://developer.apple.com/ios/human-interface-guidelines/views/alerts/>
class CupertinoAlertDialog extends StatelessWidget { class CupertinoAlertDialog extends StatelessWidget {
/// Creates an iOS-style alert dialog. /// Creates an iOS-style alert dialog.
const CupertinoAlertDialog({ const CupertinoAlertDialog({
......
...@@ -31,7 +31,7 @@ import 'thumb_painter.dart'; ...@@ -31,7 +31,7 @@ import 'thumb_painter.dart';
/// ///
/// See also: /// See also:
/// ///
/// * <https://developer.apple.com/ios/human-interface-guidelines/ui-controls/sliders/> /// * <https://developer.apple.com/ios/human-interface-guidelines/controls/sliders/>
class CupertinoSlider extends StatefulWidget { class CupertinoSlider extends StatefulWidget {
/// Creates an iOS-style slider. /// Creates an iOS-style slider.
/// ///
......
...@@ -44,7 +44,7 @@ import 'thumb_painter.dart'; ...@@ -44,7 +44,7 @@ import 'thumb_painter.dart';
/// See also: /// See also:
/// ///
/// * [Switch], the material design equivalent. /// * [Switch], the material design equivalent.
/// * <https://developer.apple.com/ios/human-interface-guidelines/ui-controls/switches/> /// * <https://developer.apple.com/ios/human-interface-guidelines/controls/switches/>
class CupertinoSwitch extends StatefulWidget { class CupertinoSwitch extends StatefulWidget {
/// Creates an iOS-style switch. /// Creates an iOS-style switch.
const CupertinoSwitch({ const CupertinoSwitch({
......
...@@ -19,7 +19,7 @@ import 'framework.dart'; ...@@ -19,7 +19,7 @@ import 'framework.dart';
/// * [BottomNavigationBar] /// * [BottomNavigationBar]
/// * <https://material.google.com/components/bottom-navigation.html> /// * <https://material.google.com/components/bottom-navigation.html>
/// * [CupertinoTabBar] /// * [CupertinoTabBar]
/// * <https://developer.apple.com/ios/human-interface-guidelines/ui-bars/tab-bars> /// * <https://developer.apple.com/ios/human-interface-guidelines/bars/tab-bars>
class BottomNavigationBarItem { class BottomNavigationBarItem {
/// Creates an item that is used with [BottomNavigationBar.items]. /// Creates an item that is used with [BottomNavigationBar.items].
/// ///
......
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