|
2 | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | 3 | // found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd. |
4 | 4 |
|
| 5 | +/// @docImport 'package:vm_service/vm_service.dart'; |
| 6 | +library; |
| 7 | + |
5 | 8 | import 'dart:async'; |
6 | 9 | import 'dart:math' as math; |
7 | 10 |
|
@@ -408,7 +411,7 @@ class StructuredErrorsToggle extends StatelessWidget { |
408 | 411 |
|
409 | 412 | /// [Switch] that stays synced with the value of a service extension. |
410 | 413 | /// |
411 | | -/// Service extensions can be found in [service_extensions.dart]. |
| 414 | +/// Service extensions can be found in `service_extensions.dart`. |
412 | 415 | class _ServiceExtensionToggle extends ServiceExtensionWidget { |
413 | 416 | const _ServiceExtensionToggle({ |
414 | 417 | required this.service, |
@@ -492,7 +495,7 @@ class _ServiceExtensionToggleState extends State<_ServiceExtensionToggle> |
492 | 495 |
|
493 | 496 | /// [Checkbox] that stays synced with the value of a service extension. |
494 | 497 | /// |
495 | | -/// Service extensions can be found in [service_extensions.dart]. |
| 498 | +/// Service extensions can be found in `service_extensions.dart`. |
496 | 499 | class ServiceExtensionCheckbox extends ServiceExtensionWidget { |
497 | 500 | ServiceExtensionCheckbox({ |
498 | 501 | super.key, |
@@ -927,12 +930,12 @@ abstract class ServiceExtensionWidget extends StatefulWidget { |
927 | 930 |
|
928 | 931 | /// The text to show when the action is completed. |
929 | 932 | /// |
930 | | - /// This will be shown in a [SnackBar], replacing the [inProgressText]. |
| 933 | + /// This will be shown in a [SnackBar], replacing the `inProgressText`. |
931 | 934 | final String? completedText; |
932 | 935 |
|
933 | 936 | /// Callback that describes any error that occurs. |
934 | 937 | /// |
935 | | - /// This will replace the [inProgressText] in a [SnackBar]. |
| 938 | + /// This will replace the `inProgressText` in a [SnackBar]. |
936 | 939 | final String Function(Object? error) describeError; |
937 | 940 |
|
938 | 941 | @override |
|
0 commit comments