diff --git a/engine/src/flutter/lib/ui/painting.dart b/engine/src/flutter/lib/ui/painting.dart index 49efc1d0d3..eb507943b8 100644 --- a/engine/src/flutter/lib/ui/painting.dart +++ b/engine/src/flutter/lib/ui/painting.dart @@ -98,7 +98,7 @@ Color _scaleAlpha(Color a, double factor) { /// /// See also: /// -/// * [Colors](https://docs.flutter.io/flutter/material/Colors-class.html), which +/// * [Colors](https://api.flutter.dev/flutter/material/Colors-class.html), which /// defines the colors found in the Material Design specification. class Color { /// Construct a color from the lower 32 bits of an [int]. diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BasicMessageChannel.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BasicMessageChannel.java index d94b90c47b..43ba7e5591 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BasicMessageChannel.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BasicMessageChannel.java @@ -22,7 +22,7 @@ import java.util.Locale; *
Messages are encoded into binary before being sent, and binary messages received are decoded * into Java objects. The {@link MessageCodec} used must be compatible with the one used by the * Flutter application. This can be achieved by creating a BasicMessageChannel + * href="https://api.flutter.dev/flutter/services/BasicMessageChannel-class.html">BasicMessageChannel * counterpart of this channel on the Dart side. The static Java type of messages sent and received * is {@code Object}, but only values supported by the specified {@link MessageCodec} can be used. * diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BinaryCodec.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BinaryCodec.java index 832b32172b..348de24c2b 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BinaryCodec.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BinaryCodec.java @@ -10,7 +10,7 @@ import java.nio.ByteBuffer; * A {@link MessageCodec} using unencoded binary messages, represented as {@link ByteBuffer}s. * *
This codec is guaranteed to be compatible with the corresponding BinaryCodec on the + * href="https://api.flutter.dev/flutter/services/BinaryCodec-class.html">BinaryCodec on the * Dart side. These parts of the Flutter SDK are evolved synchronously. * *
On the Dart side, messages are represented using {@code ByteData}. diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BinaryMessenger.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BinaryMessenger.java index 9491c13b6a..fb1a22e6f4 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BinaryMessenger.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BinaryMessenger.java @@ -12,7 +12,7 @@ import java.nio.ByteBuffer; /** * Facility for communicating with Flutter using asynchronous message passing with binary messages. * The Flutter Dart code should use BinaryMessages to + * href="https://api.flutter.dev/flutter/services/BinaryMessages-class.html">BinaryMessages to * participate. * *
{@code BinaryMessenger} is expected to be utilized from a single thread throughout the diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/EventChannel.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/EventChannel.java index fed8b053e9..34f02a1b83 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/EventChannel.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/EventChannel.java @@ -20,7 +20,7 @@ import java.util.concurrent.atomic.AtomicReference; * responses and events are encoded into binary before being transmitted back to Flutter. The {@link * MethodCodec} used must be compatible with the one used by the Flutter application. This can be * achieved by creating an EventChannel + * href="https://api.flutter.dev/flutter/services/EventChannel-class.html">EventChannel * counterpart of this channel on the Dart side. The Java type of stream configuration arguments, * events, and error details is {@code Object}, but only values supported by the specified {@link * MethodCodec} can be used. diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/JSONMessageCodec.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/JSONMessageCodec.java index f42313e8b6..c6bf0e668b 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/JSONMessageCodec.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/JSONMessageCodec.java @@ -13,7 +13,7 @@ import org.json.JSONTokener; * A {@link MessageCodec} using UTF-8 encoded JSON messages. * *
This codec is guaranteed to be compatible with the corresponding JSONMessageCodec + * href="https://api.flutter.dev/flutter/services/JSONMessageCodec-class.html">JSONMessageCodec * on the Dart side. These parts of the Flutter SDK are evolved synchronously. * *
Supports the same Java values as {@link JSONObject#wrap(Object)}. diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/JSONMethodCodec.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/JSONMethodCodec.java index c1a9a51c00..df96af0c66 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/JSONMethodCodec.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/JSONMethodCodec.java @@ -13,7 +13,7 @@ import org.json.JSONObject; * A {@link MethodCodec} using UTF-8 encoded JSON method calls and result envelopes. * *
This codec is guaranteed to be compatible with the corresponding JSONMethodCodec on + * href="https://api.flutter.dev/flutter/services/JSONMethodCodec-class.html">JSONMethodCodec on * the Dart side. These parts of the Flutter SDK are evolved synchronously. * *
Values supported as methods arguments and result payloads are those supported by {@link diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/MethodChannel.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/MethodChannel.java index 8b1336a7e6..ab2a917235 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/MethodChannel.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/MethodChannel.java @@ -22,7 +22,7 @@ import java.nio.ByteBuffer; *
Incoming method calls are decoded from binary on receipt, and Java results are encoded into * binary before being transmitted back to Flutter. The {@link MethodCodec} used must be compatible * with the one used by the Flutter application. This can be achieved by creating a MethodChannel + * href="https://api.flutter.dev/flutter/services/MethodChannel-class.html">MethodChannel * counterpart of this channel on the Dart side. The Java type of method call arguments and results * is {@code Object}, but only values supported by the specified {@link MethodCodec} can be used. * @@ -107,9 +107,9 @@ public class MethodChannel { * *
If no handler has been registered, any incoming method call on this channel will be handled * silently by sending a null reply. This results in a MissingPluginException + * href="https://api.flutter.dev/flutter/services/MissingPluginException-class.html">MissingPluginException * on the Dart side, unless an OptionalMethodChannel + * href="https://api.flutter.dev/flutter/services/OptionalMethodChannel-class.html">OptionalMethodChannel * is used. * * @param handler a {@link MethodCallHandler}, or null to deregister. diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/StandardMessageCodec.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/StandardMessageCodec.java index 625f522cac..e962fa6b3c 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/StandardMessageCodec.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/StandardMessageCodec.java @@ -21,7 +21,7 @@ import java.util.Map.Entry; * MessageCodec using the Flutter standard binary encoding. * *
This codec is guaranteed to be compatible with the corresponding StandardMessageCodec + * href="https://api.flutter.dev/flutter/services/StandardMessageCodec-class.html">StandardMessageCodec * on the Dart side. These parts of the Flutter SDK are evolved synchronously. * *
Supported messages are acyclic values of these forms: diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/StandardMethodCodec.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/StandardMethodCodec.java index 942bd0e99b..7ef509185e 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/StandardMethodCodec.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/StandardMethodCodec.java @@ -15,7 +15,7 @@ import java.nio.ByteOrder; * A {@link MethodCodec} using the Flutter standard binary encoding. * *
This codec is guaranteed to be compatible with the corresponding StandardMethodCodec + * href="https://api.flutter.dev/flutter/services/StandardMethodCodec-class.html">StandardMethodCodec * on the Dart side. These parts of the Flutter SDK are evolved synchronously. * *
Values supported as method arguments and result payloads are those supported by {@link diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/StringCodec.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/StringCodec.java index 9fb2389e61..dfcdbe68bd 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/StringCodec.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/StringCodec.java @@ -11,7 +11,7 @@ import java.nio.charset.Charset; * A {@link MessageCodec} using UTF-8 encoded String messages. * *
This codec is guaranteed to be compatible with the corresponding StringCodec on the
+ * href="https://api.flutter.dev/flutter/services/StringCodec-class.html">StringCodec on the
* Dart side. These parts of the Flutter SDK are evolved synchronously.
*/
public final class StringCodec implements MessageCodec See the Android documentation for custom accessibility actions:
* https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction
*
* See the Flutter documentation for the Semantics widget:
- * https://docs.flutter.io/flutter/widgets/Semantics-class.html
+ * https://api.flutter.dev/flutter/widgets/Semantics-class.html
*/
private static class CustomAccessibilityAction {
CustomAccessibilityAction() {}
@@ -1855,7 +1855,7 @@ public class AccessibilityBridge extends AccessibilityNodeProvider {
// The Flutter ID of this custom accessibility action. See Flutter's Semantics widget for
// custom accessibility action definitions:
- // https://docs.flutter.io/flutter/widgets/Semantics-class.html
+ // https://api.flutter.dev/flutter/widgets/Semantics-class.html
private int id = -1;
// The ID of the standard Flutter accessibility action that this {@code
diff --git a/engine/src/flutter/shell/platform/android/io/flutter/view/TextureRegistry.java b/engine/src/flutter/shell/platform/android/io/flutter/view/TextureRegistry.java
index 5c920d31f6..1d13345fee 100644
--- a/engine/src/flutter/shell/platform/android/io/flutter/view/TextureRegistry.java
+++ b/engine/src/flutter/shell/platform/android/io/flutter/view/TextureRegistry.java
@@ -10,7 +10,7 @@ import android.graphics.SurfaceTexture;
/**
* Registry of backend textures used with a single {@link FlutterView} instance. Entries may be
* embedded into the Flutter view using the Texture widget.
+ * href="https://api.flutter.dev/flutter/widgets/Texture-class.html">Texture widget.
*/
public interface TextureRegistry {
/**
diff --git a/engine/src/flutter/shell/platform/common/cpp/client_wrapper/include/flutter/event_channel.h b/engine/src/flutter/shell/platform/common/cpp/client_wrapper/include/flutter/event_channel.h
index cda97d5776..d57c248fa7 100644
--- a/engine/src/flutter/shell/platform/common/cpp/client_wrapper/include/flutter/event_channel.h
+++ b/engine/src/flutter/shell/platform/common/cpp/client_wrapper/include/flutter/event_channel.h
@@ -24,7 +24,7 @@ class EncodableValue;
// binary before being transmitted back to Flutter. The MethodCodec used must be
// compatible with the one used by the Flutter application. This can be achieved
// by creating an EventChannel
-// ("https://docs.flutter.io/flutter/services/EventChannel-class.html")
+// ("https://api.flutter.dev/flutter/services/EventChannel-class.html")
// counterpart of this channel on the Dart side.
// The C++ type of stream configuration arguments, events, and error details are
// templated, but only values supported by the specified MethodCodec can be
diff --git a/engine/src/flutter/shell/platform/darwin/common/framework/Headers/FlutterChannels.h b/engine/src/flutter/shell/platform/darwin/common/framework/Headers/FlutterChannels.h
index 5401283075..034cd4745d 100644
--- a/engine/src/flutter/shell/platform/darwin/common/framework/Headers/FlutterChannels.h
+++ b/engine/src/flutter/shell/platform/darwin/common/framework/Headers/FlutterChannels.h
@@ -218,7 +218,7 @@ FLUTTER_EXPORT
* Invokes the specified Flutter method with the specified arguments, expecting
* no results.
*
- * @see [MethodChannel.setMethodCallHandler](https://docs.flutter.io/flutter/services/MethodChannel/setMethodCallHandler.html)
+ * @see [MethodChannel.setMethodCallHandler](https://api.flutter.dev/flutter/services/MethodChannel/setMethodCallHandler.html)
*
* @param method The name of the method to invoke.
* @param arguments The arguments. Must be a value supported by the codec of this
diff --git a/engine/src/flutter/shell/platform/darwin/common/framework/Headers/FlutterCodecs.h b/engine/src/flutter/shell/platform/darwin/common/framework/Headers/FlutterCodecs.h
index 8bbab3bda5..e4e188e24b 100644
--- a/engine/src/flutter/shell/platform/darwin/common/framework/Headers/FlutterCodecs.h
+++ b/engine/src/flutter/shell/platform/darwin/common/framework/Headers/FlutterCodecs.h
@@ -43,7 +43,7 @@ FLUTTER_EXPORT
* `NSData` instances.
*
* This codec is guaranteed to be compatible with the corresponding
- * [BinaryCodec](https://docs.flutter.io/flutter/services/BinaryCodec-class.html)
+ * [BinaryCodec](https://api.flutter.dev/flutter/services/BinaryCodec-class.html)
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
*
* On the Dart side, messages are represented using `ByteData`.
@@ -56,7 +56,7 @@ FLUTTER_EXPORT
* A `FlutterMessageCodec` using UTF-8 encoded `NSString` messages.
*
* This codec is guaranteed to be compatible with the corresponding
- * [StringCodec](https://docs.flutter.io/flutter/services/StringCodec-class.html)
+ * [StringCodec](https://api.flutter.dev/flutter/services/StringCodec-class.html)
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
*/
FLUTTER_EXPORT
@@ -67,7 +67,7 @@ FLUTTER_EXPORT
* A `FlutterMessageCodec` using UTF-8 encoded JSON messages.
*
* This codec is guaranteed to be compatible with the corresponding
- * [JSONMessageCodec](https://docs.flutter.io/flutter/services/JSONMessageCodec-class.html)
+ * [JSONMessageCodec](https://api.flutter.dev/flutter/services/JSONMessageCodec-class.html)
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
*
* Supports values accepted by `NSJSONSerialization` plus top-level
@@ -184,7 +184,7 @@ FLUTTER_EXPORT
* A `FlutterMessageCodec` using the Flutter standard binary encoding.
*
* This codec is guaranteed to be compatible with the corresponding
- * [StandardMessageCodec](https://docs.flutter.io/flutter/services/StandardMessageCodec-class.html)
+ * [StandardMessageCodec](https://api.flutter.dev/flutter/services/StandardMessageCodec-class.html)
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
*
* Supported messages are acyclic values of these forms:
@@ -434,7 +434,7 @@ FLUTTER_EXPORT
* envelopes.
*
* This codec is guaranteed to be compatible with the corresponding
- * [JSONMethodCodec](https://docs.flutter.io/flutter/services/JSONMethodCodec-class.html)
+ * [JSONMethodCodec](https://api.flutter.dev/flutter/services/JSONMethodCodec-class.html)
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
*
* Values supported as methods arguments and result payloads are
@@ -448,7 +448,7 @@ FLUTTER_EXPORT
* A `FlutterMethodCodec` using the Flutter standard binary encoding.
*
* This codec is guaranteed to be compatible with the corresponding
- * [StandardMethodCodec](https://docs.flutter.io/flutter/services/StandardMethodCodec-class.html)
+ * [StandardMethodCodec](https://api.flutter.dev/flutter/services/StandardMethodCodec-class.html)
* on the Dart side. These parts of the Flutter SDK are evolved synchronously.
*
* Values supported as method arguments and result payloads are those supported by
diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h b/engine/src/flutter/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h
index 7583a8d7aa..3067410f96 100644
--- a/engine/src/flutter/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h
+++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h
@@ -268,8 +268,8 @@ FLUTTER_EXPORT
* Can be nil after `destroyContext` is called.
*
* @see [Navigation
- * Channel](https://docs.flutter.io/flutter/services/SystemChannels/navigation-constant.html)
- * @see [Navigator Widget](https://docs.flutter.io/flutter/widgets/Navigator-class.html)
+ * Channel](https://api.flutter.dev/flutter/services/SystemChannels/navigation-constant.html)
+ * @see [Navigator Widget](https://api.flutter.dev/flutter/widgets/Navigator-class.html)
*/
@property(nonatomic, readonly) FlutterMethodChannel* navigationChannel;
@@ -288,7 +288,7 @@ FLUTTER_EXPORT
* Can be nil after `destroyContext` is called.
*
* @see [Text Input
- * Channel](https://docs.flutter.io/flutter/services/SystemChannels/textInput-constant.html)
+ * Channel](https://api.flutter.dev/flutter/services/SystemChannels/textInput-constant.html)
*/
@property(nonatomic, readonly) FlutterMethodChannel* textInputChannel;
@@ -299,7 +299,7 @@ FLUTTER_EXPORT
* Can be nil after `destroyContext` is called.
*
* @see [Lifecycle
- * Channel](https://docs.flutter.io/flutter/services/SystemChannels/lifecycle-constant.html)
+ * Channel](https://api.flutter.dev/flutter/services/SystemChannels/lifecycle-constant.html)
*/
@property(nonatomic, readonly) FlutterBasicMessageChannel* lifecycleChannel;
@@ -310,7 +310,7 @@ FLUTTER_EXPORT
* Can be nil after `destroyContext` is called.
*
* @see [System
- * Channel](https://docs.flutter.io/flutter/services/SystemChannels/system-constant.html)
+ * Channel](https://api.flutter.dev/flutter/services/SystemChannels/system-constant.html)
*/
@property(nonatomic, readonly) FlutterBasicMessageChannel* systemChannel;
diff --git a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputModel.h b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputModel.h
index f42a44daac..0005dbacc9 100644
--- a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputModel.h
+++ b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputModel.h
@@ -51,13 +51,13 @@ typedef NS_ENUM(NSUInteger, FlutterTextAffinity) {
/**
* Keyboard type of the client. See available options:
- * https://docs.flutter.io/flutter/services/TextInputType-class.html
+ * https://api.flutter.dev/flutter/services/TextInputType-class.html
*/
@property(nonatomic, readonly, nonnull) NSString* inputType;
/**
* An action requested by the user on the input client. See available options:
- * https://docs.flutter.io/flutter/services/TextInputAction-class.html
+ * https://api.flutter.dev/flutter/services/TextInputAction-class.html
*/
@property(nonatomic, readonly, nonnull) NSString* inputAction;
diff --git a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm
index 87086290c7..76cd5fc02f 100644
--- a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm
+++ b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm
@@ -12,7 +12,7 @@
static NSString* const kTextInputChannel = @"flutter/textinput";
-// See https://docs.flutter.io/flutter/services/SystemChannels/textInput-constant.html
+// See https://api.flutter.dev/flutter/services/SystemChannels/textInput-constant.html
static NSString* const kSetClientMethod = @"TextInput.setClient";
static NSString* const kShowMethod = @"TextInput.show";
static NSString* const kHideMethod = @"TextInput.hide";
diff --git a/engine/src/flutter/shell/platform/glfw/text_input_plugin.h b/engine/src/flutter/shell/platform/glfw/text_input_plugin.h
index 29579c8471..44072c0b2c 100644
--- a/engine/src/flutter/shell/platform/glfw/text_input_plugin.h
+++ b/engine/src/flutter/shell/platform/glfw/text_input_plugin.h
@@ -59,11 +59,11 @@ class TextInputPlugin : public KeyboardHookHandler {
std::unique_ptr