docimports for services (#151134)

Part of https://github.com/flutter/flutter/issues/150800
This commit is contained in:
Michael Goderbauer 2024-07-02 10:30:41 -07:00 committed by GitHub
parent 3cf357ac7b
commit 06b9f7ba0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
27 changed files with 120 additions and 3 deletions

View File

@ -2,6 +2,11 @@
// 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/widgets.dart';
///
/// @docImport 'raw_keyboard.dart';
library;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
export 'package:flutter/foundation.dart' show DiagnosticPropertiesBuilder; export 'package:flutter/foundation.dart' show DiagnosticPropertiesBuilder;

View File

@ -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 'dart:async'; import 'dart:async';
import 'dart:convert'; import 'dart:convert';
import 'dart:io'; import 'dart:io';

View File

@ -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 'dart:ui';
library;
import 'dart:typed_data'; import 'dart:typed_data';
import 'dart:ui' as ui; import 'dart:ui' as ui;

View File

@ -2,6 +2,13 @@
// 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:ui';
///
/// @docImport 'package:flutter/widgets.dart';
///
/// @docImport 'system_chrome.dart';
library;
import 'dart:async'; import 'dart:async';
import 'dart:convert'; import 'dart:convert';
import 'dart:io'; import 'dart:io';

View File

@ -2,6 +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 'platform_channel.dart';
/// @docImport 'service_extensions.dart';
library;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'hardware_keyboard.dart'; import 'hardware_keyboard.dart';

View File

@ -2,6 +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 'package:flutter/cupertino.dart';
/// @docImport 'package:flutter/material.dart';
library;
import 'dart:ui' as ui; import 'dart:ui' as ui;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';

View File

@ -2,6 +2,11 @@
// 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/widgets.dart';
///
/// @docImport 'raw_keyboard.dart';
library;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
export 'package:flutter/foundation.dart' show DiagnosticPropertiesBuilder; export 'package:flutter/foundation.dart' show DiagnosticPropertiesBuilder;

View File

@ -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 'text_input.dart';
library;
import 'system_channels.dart'; import 'system_channels.dart';
/// Utility methods for interacting with the system's Live Text. /// Utility methods for interacting with the system's Live Text.

View File

@ -2,6 +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 'package:flutter/material.dart';
/// @docImport 'package:flutter/rendering.dart';
library;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart'; import 'package:flutter/gestures.dart';
@ -278,12 +282,12 @@ class _NoopMouseCursorSession extends MouseCursorSession {
/// A mouse cursor that doesn't change the cursor when activated. /// A mouse cursor that doesn't change the cursor when activated.
/// ///
/// Although setting a region's cursor to [NoopMouseCursor] doesn't change the /// Although setting a region's cursor to [_NoopMouseCursor] doesn't change the
/// cursor, it blocks regions behind it from changing the cursor, in contrast to /// cursor, it blocks regions behind it from changing the cursor, in contrast to
/// setting the cursor to null. More information about the usage of this class /// setting the cursor to null. More information about the usage of this class
/// can be found at [MouseCursors.uncontrolled]. /// can be found at [MouseCursor.uncontrolled].
/// ///
/// To use this class, use [MouseCursors.uncontrolled]. Directly /// To use this class, use [MouseCursor.uncontrolled]. Directly
/// instantiating this class is not allowed. /// instantiating this class is not allowed.
class _NoopMouseCursor extends MouseCursor { class _NoopMouseCursor extends MouseCursor {
// Application code shouldn't directly instantiate this class, since its only // Application code shouldn't directly instantiate this class, since its only

View File

@ -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/rendering.dart';
/// @docImport 'package:flutter/widgets.dart';
library;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart'; import 'package:flutter/gestures.dart';

View File

@ -2,6 +2,11 @@
// 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';
///
/// @docImport 'message_codecs.dart';
library;
import 'dart:async'; import 'dart:async';
import 'dart:ui'; import 'dart:ui';

View File

@ -2,6 +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 'package:flutter/cupertino.dart';
/// @docImport 'package:flutter/material.dart';
library;
import 'dart:io'; import 'dart:io';
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';

View File

@ -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 'hardware_keyboard.dart';
library;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'keyboard_maps.g.dart'; import 'keyboard_maps.g.dart';

View File

@ -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 'hardware_keyboard.dart';
library;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'keyboard_maps.g.dart'; import 'keyboard_maps.g.dart';

View File

@ -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 'hardware_keyboard.dart';
library;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'keyboard_maps.g.dart'; import 'keyboard_maps.g.dart';

View File

@ -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 'hardware_keyboard.dart';
library;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'keyboard_maps.g.dart'; import 'keyboard_maps.g.dart';

View File

@ -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 'hardware_keyboard.dart';
library;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'keyboard_maps.g.dart'; import 'keyboard_maps.g.dart';

View File

@ -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 'hardware_keyboard.dart';
library;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'keyboard_maps.g.dart'; import 'keyboard_maps.g.dart';

View File

@ -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 'hardware_keyboard.dart';
library;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'keyboard_maps.g.dart'; import 'keyboard_maps.g.dart';

View File

@ -2,6 +2,11 @@
// 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/widgets.dart';
///
/// @docImport 'binding.dart';
library;
import 'dart:async'; import 'dart:async';
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';

View File

@ -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/widgets.dart';
library;
import 'dart:ui'; import 'dart:ui';
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';

View File

@ -2,6 +2,24 @@
// 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:typed_data';
///
/// @docImport 'package:flutter/semantics.dart';
/// @docImport 'package:flutter/widgets.dart';
///
/// @docImport 'binding.dart';
/// @docImport 'clipboard.dart';
/// @docImport 'haptic_feedback.dart';
/// @docImport 'platform_views.dart';
/// @docImport 'raw_keyboard.dart';
/// @docImport 'raw_keyboard_android.dart';
/// @docImport 'raw_keyboard_fuchsia.dart';
/// @docImport 'system_chrome.dart';
/// @docImport 'system_navigator.dart';
/// @docImport 'system_sound.dart';
/// @docImport 'text_input.dart';
library;
import 'dart:ui'; import 'dart:ui';
import 'message_codecs.dart'; import 'message_codecs.dart';

View File

@ -2,6 +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 'package:flutter/cupertino.dart';
/// @docImport 'package:flutter/material.dart';
library;
import 'dart:async'; import 'dart:async';
import 'dart:ui'; import 'dart:ui';

View File

@ -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 'dart:io';
library;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'system_channels.dart'; import 'system_channels.dart';

View File

@ -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 'text_input.dart';
library;
import 'dart:ui' show TextRange; import 'dart:ui' show TextRange;
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';

View File

@ -2,6 +2,8 @@
// 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 'dart:math' as math; import 'dart:math' as math;

View File

@ -2,6 +2,14 @@
// 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/cupertino.dart';
/// @docImport 'package:flutter/material.dart';
/// @docImport 'package:flutter/rendering.dart';
///
/// @docImport 'live_text.dart';
/// @docImport 'text_formatter.dart';
library;
import 'dart:async'; import 'dart:async';
import 'dart:io' show Platform; import 'dart:io' show Platform;
import 'dart:ui' show import 'dart:ui' show