Conversation
|
(There are still >600 issues remaining by local estimates) |
|
|
||
| @override | ||
| String toString() => '$runtimeType(value: begin)'; | ||
| String toString() => '$runtimeType(value: $begin)'; |
| /// Mandatory string to add after the properties of a node regardless of | ||
| /// whether the node has any properties. | ||
| /// | ||
| /// See [headerLineTextConfiguration] for an example of using this field to |
There was a problem hiding this comment.
singleLineTextConfiguration?
There was a problem hiding this comment.
That field sets this to '' - doesn't seem like a great example :\
| /// Widgets and render objects at lower layers that try to emulate the | ||
| /// underlying platform can depend on [defaultTargetPlatform] directly. The | ||
| /// [dart.io.Platform] object should only be used directly when it's critical to | ||
| /// [platform.Platform] object should only be used directly when it's critical to |
| /// | ||
| /// We occasionally synthesize PointerEvents that aren't exact translations | ||
| /// of [ui.PointerData] from the engine to cover small cross-OS discrepancies | ||
| /// of [PointerData] from the engine to cover small cross-OS discrepancies |
There was a problem hiding this comment.
Does this not have to be [dart:ui.PointerData]?
There was a problem hiding this comment.
I think either one would work - this works because we're importing it in this file.
| /// This function must always return values in the range 0.0 to 1.0 given a | ||
| /// pressure that is between the minimum and maximum pressures. It may return | ||
| /// [double.NaN] for values that it does not want to support. | ||
| /// `double.NaN` for values that it does not want to support. |
There was a problem hiding this comment.
I wonder if it'd link it this was [dart:core.double.NaN]?
There was a problem hiding this comment.
No luck. I think this is probably a dartdoc bug but I'm also not sure how important it is we link to double.NaN here.
| /// | ||
| /// See also: | ||
| /// | ||
| /// * [ComputeNotch] a function used for creating a notch in a shape. |
There was a problem hiding this comment.
Maybe link to [NotchedShape]?
| /// 1. [localeListResolutionCallback] is attempted first. | ||
| /// 2. [localeResolutionCallback] is attempted second. | ||
| /// 3. Flutter's [WidgetsApp.basicLocaleListResolution] algorithm is attempted last. | ||
| /// 3. Flutter's basic resolution algorithm is attempted last. |
There was a problem hiding this comment.
Where is the basic resolution algorithm documented?
There was a problem hiding this comment.
Looks like it's documented in supportedLocales - maybe link to there?
| /// | ||
| /// The order of the list matters. The default locale resolution algorithm, | ||
| /// [basicLocaleListResolution], attempts to match by the following priority: | ||
| /// `basicLocaleListResolution`, attempts to match by the following priority: |
There was a problem hiding this comment.
Is this a symbol at all now?
There was a problem hiding this comment.
It's private API. Reworded.
| /// 4. [Locale.languageCode] only | ||
| /// 6. [Locale.countryCode] only when all [preferredLocales] fail to match | ||
| /// 5. returns [supportedLocales.first] as a fallback | ||
| /// 5. [Locale.countryCode] only when all preferred locales fail to match |
| /// after it is resolved against a [BuildContext] that: | ||
| /// - has a [CupertinoTheme] whose [brightness] is [PlatformBrightness.light], | ||
| /// or a [MediaQuery] whose [MediaQueryData.platformBrightness] is [PlatformBrightness.light]. | ||
| /// - has a [CupertinoTheme] whose [brightness] is [Brightness.light], |
There was a problem hiding this comment.
CC @LongCatIsLooong , looks like a systematic error
| /// | ||
| /// See also: | ||
| /// | ||
| /// * [ComputeNotch] a function used for creating a notch in a shape. |
dkwingsmt
left a comment
There was a problem hiding this comment.
Otherwise LGTM on gestures.
| /// | ||
| /// This triggers when the pointer stops contacting the device after the 2nd tap, | ||
| /// immediately after [onDoubleTapUp]. | ||
| /// immediately after the second [GestureTapUpCallback]. |
There was a problem hiding this comment.
Change the 2 lines to:
/// This triggers when the pointer stops contacting the device after the 2nd tap.
The onDoubleTapUp is an proposed API that was eventually removed. Thanks for spotting it out.
|
This pull request is not suitable for automatic merging in its current state.
|

Fixes ~200 issues currently with docs.
As it is this may have to be split up.
Addresses #31931
I basically started working from top down of dartdoc warnings/errors, although some I did en masse (e.g.
DiagnosticNode->DiagnosticsNode,SemanticNode->SemanticsNode) and some I grabbed because they were just close by in the file.