Standardize dartdoc macro names (#69445)
This commit is contained in:
@@ -1268,7 +1268,7 @@ class AutomatedTestWidgetsFlutterBinding extends TestWidgetsFlutterBinding {
|
||||
/// These values are set on the binding's
|
||||
/// [LiveTestWidgetsFlutterBinding.framePolicy] property.
|
||||
///
|
||||
/// {@template flutter.flutter_test.frame_policy}
|
||||
/// {@template flutter.flutter_test.LiveTestWidgetsFlutterBindingFramePolicy}
|
||||
/// The default is [LiveTestWidgetsFlutterBindingFramePolicy.fadePointers].
|
||||
/// Setting this to anything other than
|
||||
/// [LiveTestWidgetsFlutterBindingFramePolicy.onlyPumps] results in pumping
|
||||
@@ -1417,7 +1417,7 @@ class LiveTestWidgetsFlutterBinding extends TestWidgetsFlutterBinding {
|
||||
/// system requests during an asynchronous pause (as would normally happen
|
||||
/// when running an application with [WidgetsFlutterBinding]).
|
||||
///
|
||||
/// {@macro flutter.flutter_test.frame_policy}
|
||||
/// {@macro flutter.flutter_test.LiveTestWidgetsFlutterBindingFramePolicy}
|
||||
///
|
||||
/// See [LiveTestWidgetsFlutterBindingFramePolicy].
|
||||
LiveTestWidgetsFlutterBindingFramePolicy framePolicy = LiveTestWidgetsFlutterBindingFramePolicy.fadePointers;
|
||||
|
||||
@@ -302,7 +302,7 @@ abstract class WidgetController {
|
||||
/// If the middle of the widget is not exposed, this might send
|
||||
/// events to another object.
|
||||
///
|
||||
/// {@template flutter.flutter_test.fling}
|
||||
/// {@template flutter.flutter_test.WidgetController.fling}
|
||||
/// This can pump frames.
|
||||
///
|
||||
/// Exactly 50 pointer events are synthesized.
|
||||
@@ -358,7 +358,7 @@ abstract class WidgetController {
|
||||
/// Attempts a fling gesture starting from the given location, moving the
|
||||
/// given distance, reaching the given speed.
|
||||
///
|
||||
/// {@macro flutter.flutter_test.fling}
|
||||
/// {@macro flutter.flutter_test.WidgetController.fling}
|
||||
///
|
||||
/// A fling is essentially a drag that ends at a particular speed. If you
|
||||
/// just want to drag and end without a fling, use [dragFrom].
|
||||
@@ -476,7 +476,7 @@ abstract class WidgetController {
|
||||
/// The operation happens at once. If you want the drag to last for a period
|
||||
/// of time, consider using [timedDrag].
|
||||
///
|
||||
/// {@template flutter.flutter_test.drag}
|
||||
/// {@template flutter.flutter_test.WidgetController.drag}
|
||||
/// By default, if the x or y component of offset is greater than
|
||||
/// [kDragSlopDefault], the gesture is broken up into two separate moves
|
||||
/// calls. Changing `touchSlopX` or `touchSlopY` will change the minimum
|
||||
@@ -521,7 +521,7 @@ abstract class WidgetController {
|
||||
/// The operation happens at once. If you want the drag to last for a period
|
||||
/// of time, consider using [timedDragFrom].
|
||||
///
|
||||
/// {@macro flutter.flutter_test.drag}
|
||||
/// {@macro flutter.flutter_test.WidgetController.drag}
|
||||
Future<void> dragFrom(
|
||||
Offset startLocation,
|
||||
Offset offset, {
|
||||
@@ -613,7 +613,7 @@ abstract class WidgetController {
|
||||
/// [fling] or ballistic animation, depending on the speed from
|
||||
/// `offset/duration`.
|
||||
///
|
||||
/// {@template flutter.flutter_test.timeddrag}
|
||||
/// {@template flutter.flutter_test.WidgetController.timedDrag}
|
||||
/// The move events are sent at a given `frequency` in Hz (or events per
|
||||
/// second). It defaults to 60Hz.
|
||||
///
|
||||
@@ -647,7 +647,7 @@ abstract class WidgetController {
|
||||
/// [flingFrom] or ballistic animation, depending on the speed from
|
||||
/// `offset/duration`.
|
||||
///
|
||||
/// {@macro flutter.flutter_test.timeddrag}
|
||||
/// {@macro flutter.flutter_test.WidgetController.timedDrag}
|
||||
Future<void> timedDragFrom(
|
||||
Offset startLocation,
|
||||
Offset offset,
|
||||
|
||||
@@ -214,7 +214,7 @@ test_package.TypeMatcher<T> isInstanceOf<T>() => isA<T>();
|
||||
|
||||
/// Asserts that two [double]s are equal, within some tolerated error.
|
||||
///
|
||||
/// {@template flutter.flutter_test.moreOrLessEquals.epsilon}
|
||||
/// {@template flutter.flutter_test.moreOrLessEquals}
|
||||
/// Two values are considered equal if the difference between them is within
|
||||
/// [precisionErrorTolerance] of the larger one. This is an arbitrary value
|
||||
/// which can be adjusted using the `epsilon` argument. This matcher is intended
|
||||
@@ -237,7 +237,7 @@ Matcher moreOrLessEquals(double value, { double epsilon = precisionErrorToleranc
|
||||
|
||||
/// Asserts that two [Rect]s are equal, within some tolerated error.
|
||||
///
|
||||
/// {@macro flutter.flutter_test.moreOrLessEquals.epsilon}
|
||||
/// {@macro flutter.flutter_test.moreOrLessEquals}
|
||||
///
|
||||
/// See also:
|
||||
///
|
||||
@@ -251,7 +251,7 @@ Matcher rectMoreOrLessEquals(Rect value, { double epsilon = precisionErrorTolera
|
||||
|
||||
/// Asserts that two [Offset]s are equal, within some tolerated error.
|
||||
///
|
||||
/// {@macro flutter.flutter_test.moreOrLessEquals.epsilon}
|
||||
/// {@macro flutter.flutter_test.moreOrLessEquals}
|
||||
///
|
||||
/// See also:
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user