more docImports (#151951)
Part of https://github.com/flutter/flutter/issues/150800.
This commit is contained in:
parent
f6b4db9d6b
commit
75b6a2ff6a
@ -2,6 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
|
/// @docImport 'package:fake_async/fake_async.dart';
|
||||||
/// @docImport 'package:flutter/rendering.dart';
|
/// @docImport 'package:flutter/rendering.dart';
|
||||||
/// @docImport 'package:flutter/widgets.dart';
|
/// @docImport 'package:flutter/widgets.dart';
|
||||||
///
|
///
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
/// @docImport 'dart:ui';
|
/// @docImport 'dart:ui';
|
||||||
///
|
///
|
||||||
/// @docImport 'package:flutter/widgets.dart';
|
/// @docImport 'package:flutter/widgets.dart';
|
||||||
|
/// @docImport 'package:flutter_driver/driver_extension.dart';
|
||||||
library;
|
library;
|
||||||
|
|
||||||
import 'dart:ui' as ui;
|
import 'dart:ui' as ui;
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
/// @docImport 'package:flutter/material.dart';
|
/// @docImport 'package:flutter/material.dart';
|
||||||
|
/// @docImport 'package:flutter_test/flutter_test.dart';
|
||||||
library;
|
library;
|
||||||
|
|
||||||
import 'dart:math' as math;
|
import 'dart:math' as math;
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
/// @docImport 'dart:developer';
|
/// @docImport 'dart:developer';
|
||||||
/// @docImport 'dart:ui';
|
/// @docImport 'dart:ui';
|
||||||
///
|
///
|
||||||
|
/// @docImport 'package:flutter_test/flutter_test.dart';
|
||||||
|
///
|
||||||
/// @docImport 'borders.dart';
|
/// @docImport 'borders.dart';
|
||||||
/// @docImport 'box_decoration.dart';
|
/// @docImport 'box_decoration.dart';
|
||||||
/// @docImport 'box_shadow.dart';
|
/// @docImport 'box_shadow.dart';
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
/// @docImport 'package:flutter/widgets.dart';
|
/// @docImport 'package:flutter/widgets.dart';
|
||||||
|
/// @docImport 'package:flutter_test/flutter_test.dart';
|
||||||
library;
|
library;
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
/// @docImport 'dart:ui';
|
/// @docImport 'dart:ui';
|
||||||
|
///
|
||||||
|
/// @docImport 'package:flutter_test/flutter_test.dart';
|
||||||
library;
|
library;
|
||||||
|
|
||||||
import 'dart:typed_data';
|
import 'dart:typed_data';
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
/// @docImport 'package:flutter/cupertino.dart';
|
/// @docImport 'package:flutter/cupertino.dart';
|
||||||
/// @docImport 'package:flutter/material.dart';
|
/// @docImport 'package:flutter/material.dart';
|
||||||
|
/// @docImport 'package:flutter_test/flutter_test.dart';
|
||||||
library;
|
library;
|
||||||
|
|
||||||
import 'dart:ui' as ui;
|
import 'dart:ui' as ui;
|
||||||
|
@ -19,6 +19,8 @@ dependencies:
|
|||||||
sdk: flutter
|
sdk: flutter
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
|
flutter_driver:
|
||||||
|
sdk: flutter
|
||||||
flutter_test:
|
flutter_test:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
flutter_goldens:
|
flutter_goldens:
|
||||||
@ -43,9 +45,11 @@ dev_dependencies:
|
|||||||
stack_trace: 1.11.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
stack_trace: 1.11.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||||
stream_channel: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
stream_channel: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||||
string_scanner: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
string_scanner: 1.3.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||||
|
sync_http: 0.3.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||||
term_glyph: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
term_glyph: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||||
test_api: 0.7.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
test_api: 0.7.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||||
typed_data: 1.3.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
typed_data: 1.3.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||||
vm_service: 14.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
vm_service: 14.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||||
|
webdriver: 3.0.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||||
|
|
||||||
# PUBSPEC CHECKSUM: a74f
|
# PUBSPEC CHECKSUM: c795
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
/// @docImport 'package:flutter/foundation.dart';
|
/// @docImport 'package:flutter/widgets.dart';
|
||||||
library;
|
library;
|
||||||
|
|
||||||
import 'enum_util.dart';
|
import 'enum_util.dart';
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
|
/// @docImport 'package:flutter/material.dart';
|
||||||
|
library;
|
||||||
|
|
||||||
import 'enum_util.dart';
|
import 'enum_util.dart';
|
||||||
import 'message.dart';
|
import 'message.dart';
|
||||||
|
|
||||||
|
@ -57,8 +57,7 @@ import 'test_async_utils.dart';
|
|||||||
///
|
///
|
||||||
/// * [GoldenFileComparator], the abstract class that [LocalFileComparator]
|
/// * [GoldenFileComparator], the abstract class that [LocalFileComparator]
|
||||||
/// implements.
|
/// implements.
|
||||||
/// * [matchesGoldenFile], the function from [flutter_test] that invokes the
|
/// * [matchesGoldenFile], the function that invokes the comparator.
|
||||||
/// comparator.
|
|
||||||
class LocalFileComparator extends GoldenFileComparator with LocalComparisonOutput {
|
class LocalFileComparator extends GoldenFileComparator with LocalComparisonOutput {
|
||||||
/// Creates a new [LocalFileComparator] for the specified [testFile].
|
/// Creates a new [LocalFileComparator] for the specified [testFile].
|
||||||
///
|
///
|
||||||
|
@ -42,8 +42,7 @@ Future<ComparisonResult> compareLists(List<int> test, List<int> master) async {
|
|||||||
///
|
///
|
||||||
/// See also:
|
/// See also:
|
||||||
///
|
///
|
||||||
/// * [matchesGoldenFile], the function from [flutter_test] that invokes the
|
/// * [matchesGoldenFile], the function that invokes the comparator.
|
||||||
/// comparator.
|
|
||||||
class DefaultWebGoldenComparator extends WebGoldenComparator {
|
class DefaultWebGoldenComparator extends WebGoldenComparator {
|
||||||
/// Creates a new [DefaultWebGoldenComparator] for the specified [testUri].
|
/// Creates a new [DefaultWebGoldenComparator] for the specified [testUri].
|
||||||
///
|
///
|
||||||
|
@ -2,7 +2,10 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
|
/// @docImport 'dart:io';
|
||||||
|
///
|
||||||
/// @docImport 'package:flutter/scheduler.dart';
|
/// @docImport 'package:flutter/scheduler.dart';
|
||||||
|
/// @docImport 'package:flutter_driver/flutter_driver.dart';
|
||||||
///
|
///
|
||||||
/// @docImport 'binding.dart';
|
/// @docImport 'binding.dart';
|
||||||
/// @docImport 'finders.dart';
|
/// @docImport 'finders.dart';
|
||||||
@ -1962,7 +1965,7 @@ abstract class WidgetController {
|
|||||||
/// soft keyboard.
|
/// soft keyboard.
|
||||||
///
|
///
|
||||||
/// Specify `platform` as one of the platforms allowed in
|
/// Specify `platform` as one of the platforms allowed in
|
||||||
/// [platform.Platform.operatingSystem] to make the event appear to be from
|
/// [Platform.operatingSystem] to make the event appear to be from
|
||||||
/// that type of system. If not specified, defaults to "web" on web, and the
|
/// that type of system. If not specified, defaults to "web" on web, and the
|
||||||
/// operating system name based on [defaultTargetPlatform] everywhere else.
|
/// operating system name based on [defaultTargetPlatform] everywhere else.
|
||||||
///
|
///
|
||||||
@ -2004,7 +2007,7 @@ abstract class WidgetController {
|
|||||||
/// from a soft keyboard.
|
/// from a soft keyboard.
|
||||||
///
|
///
|
||||||
/// Specify `platform` as one of the platforms allowed in
|
/// Specify `platform` as one of the platforms allowed in
|
||||||
/// [platform.Platform.operatingSystem] to make the event appear to be from
|
/// [Platform.operatingSystem] to make the event appear to be from
|
||||||
/// that type of system. If not specified, defaults to "web" on web, and the
|
/// that type of system. If not specified, defaults to "web" on web, and the
|
||||||
/// operating system name based on [defaultTargetPlatform] everywhere else.
|
/// operating system name based on [defaultTargetPlatform] everywhere else.
|
||||||
///
|
///
|
||||||
@ -2041,7 +2044,7 @@ abstract class WidgetController {
|
|||||||
/// not from a soft keyboard.
|
/// not from a soft keyboard.
|
||||||
///
|
///
|
||||||
/// Specify `platform` as one of the platforms allowed in
|
/// Specify `platform` as one of the platforms allowed in
|
||||||
/// [platform.Platform.operatingSystem] to make the event appear to be from
|
/// [Platform.operatingSystem] to make the event appear to be from
|
||||||
/// that type of system. If not specified, defaults to "web" on web, and the
|
/// that type of system. If not specified, defaults to "web" on web, and the
|
||||||
/// operating system name based on [defaultTargetPlatform] everywhere else.
|
/// operating system name based on [defaultTargetPlatform] everywhere else.
|
||||||
///
|
///
|
||||||
@ -2071,7 +2074,7 @@ abstract class WidgetController {
|
|||||||
/// from a soft keyboard.
|
/// from a soft keyboard.
|
||||||
///
|
///
|
||||||
/// Specify `platform` as one of the platforms allowed in
|
/// Specify `platform` as one of the platforms allowed in
|
||||||
/// [platform.Platform.operatingSystem] to make the event appear to be from
|
/// [Platform.operatingSystem] to make the event appear to be from
|
||||||
/// that type of system. If not specified, defaults to "web" on web, and the
|
/// that type of system. If not specified, defaults to "web" on web, and the
|
||||||
/// operating system name based on [defaultTargetPlatform] everywhere else.
|
/// operating system name based on [defaultTargetPlatform] everywhere else.
|
||||||
///
|
///
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
|
/// @docImport 'package:flutter_driver/flutter_driver.dart';
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:ui';
|
import 'dart:ui';
|
||||||
|
|
||||||
/// The maximum amount of time considered safe to spend for a frame's build
|
/// The maximum amount of time considered safe to spend for a frame's build
|
||||||
|
@ -55,8 +55,7 @@ import '_goldens_io.dart' if (dart.library.js_interop) '_goldens_web.dart' as go
|
|||||||
///
|
///
|
||||||
/// * [LocalFileComparator] for the default [GoldenFileComparator]
|
/// * [LocalFileComparator] for the default [GoldenFileComparator]
|
||||||
/// implementation for `flutter test`.
|
/// implementation for `flutter test`.
|
||||||
/// * [matchesGoldenFile], the function from [flutter_test] that invokes the
|
/// * [matchesGoldenFile], the function that invokes the comparator.
|
||||||
/// comparator.
|
|
||||||
abstract class GoldenFileComparator {
|
abstract class GoldenFileComparator {
|
||||||
/// Compares the pixels of decoded png [imageBytes] against the golden file
|
/// Compares the pixels of decoded png [imageBytes] against the golden file
|
||||||
/// identified by [golden].
|
/// identified by [golden].
|
||||||
@ -216,8 +215,7 @@ GoldenFileComparator goldenFileComparator = const TrivialComparator._();
|
|||||||
/// not running in a web browser.
|
/// not running in a web browser.
|
||||||
/// * [DefaultWebGoldenComparator] for the default [WebGoldenComparator]
|
/// * [DefaultWebGoldenComparator] for the default [WebGoldenComparator]
|
||||||
/// implementation for `flutter test`.
|
/// implementation for `flutter test`.
|
||||||
/// * [matchesGoldenFile], the function from [flutter_test] that invokes the
|
/// * [matchesGoldenFile], the function that invokes the comparator.
|
||||||
/// comparator.
|
|
||||||
abstract class WebGoldenComparator {
|
abstract class WebGoldenComparator {
|
||||||
/// Compares the rendered pixels of size [width]x[height] that is being
|
/// Compares the rendered pixels of size [width]x[height] that is being
|
||||||
/// rendered on the top left of the screen against the golden file identified
|
/// rendered on the top left of the screen against the golden file identified
|
||||||
|
@ -52,5 +52,10 @@ dependencies:
|
|||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
file: 7.0.0
|
file: 7.0.0
|
||||||
|
flutter_driver:
|
||||||
|
sdk: flutter
|
||||||
|
|
||||||
# PUBSPEC CHECKSUM: ba58
|
sync_http: 0.3.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||||
|
webdriver: 3.0.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||||
|
|
||||||
|
# PUBSPEC CHECKSUM: a19e
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
/// See also:
|
/// See also:
|
||||||
///
|
///
|
||||||
/// * [How to Write a Flutter Web Plugin](https://medium.com/flutter/how-to-write-a-flutter-web-plugin-5e26c689ea1), a Medium article
|
/// * [How to Write a Flutter Web Plugin](https://medium.com/flutter/how-to-write-a-flutter-web-plugin-5e26c689ea1), a Medium article
|
||||||
/// describing how the `url_launcher` package was created using [flutter_web_plugins].
|
/// describing how the `url_launcher` package was created using `flutter_web_plugins`.
|
||||||
///
|
///
|
||||||
/// @docImport 'src/plugin_registry.dart';
|
/// @docImport 'src/plugin_registry.dart';
|
||||||
library flutter_web_plugins;
|
library flutter_web_plugins;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user