Skip to content

Commit 5fb7560

Browse files
LongCatIsLooongTytaniumDev
authored andcommitted
material docImports (flutter#152060)
flutter#150800. I skipped files that contain generated code because the script isn't smart enough, and I did not fix some dubious comment refs. Those will be addressed in a different PR.
1 parent 897b448 commit 5fb7560

File tree

114 files changed

+631
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+631
-1
lines changed

packages/flutter/lib/src/material/about.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
/// @docImport 'drawer.dart';
6+
/// @docImport 'list_tile_theme.dart';
7+
library;
8+
59
import 'dart:developer' show Flow, Timeline;
610
import 'dart:io' show Platform;
711

packages/flutter/lib/src/material/action_buttons.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
/// @docImport 'package:flutter/services.dart';
6+
///
7+
/// @docImport 'app_bar.dart';
8+
/// @docImport 'drawer.dart';
9+
/// @docImport 'material.dart';
10+
library;
11+
512
import 'package:flutter/foundation.dart';
613
import 'package:flutter/widgets.dart';
714

packages/flutter/lib/src/material/adaptive_text_selection_toolbar.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
/// @docImport 'selectable_text.dart';
6+
/// @docImport 'selection_area.dart';
7+
/// @docImport 'text_field.dart';
8+
library;
9+
510
import 'package:flutter/cupertino.dart';
611
import 'package:flutter/rendering.dart';
712

packages/flutter/lib/src/material/app.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
/// @docImport 'app_bar.dart';
6+
/// @docImport 'color_scheme.dart';
7+
/// @docImport 'dialog.dart';
8+
/// @docImport 'drawer.dart';
9+
/// @docImport 'material.dart';
10+
/// @docImport 'popup_menu.dart';
11+
/// @docImport 'scaffold.dart';
12+
library;
13+
514
import 'dart:ui' as ui;
615

716
import 'package:flutter/cupertino.dart';

packages/flutter/lib/src/material/app_bar_theme.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
/// @docImport 'app_bar.dart';
6+
library;
7+
58
import 'dart:ui' show lerpDouble;
69

710
import 'package:flutter/foundation.dart';

packages/flutter/lib/src/material/arc.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
/// @docImport 'package:flutter/widgets.dart';
6+
library;
7+
58
import 'dart:math' as math;
69
import 'dart:ui' show lerpDouble;
710

packages/flutter/lib/src/material/badge_theme.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
/// @docImport 'badge.dart';
6+
library;
7+
58
import 'dart:ui' show lerpDouble;
69

710
import 'package:flutter/foundation.dart';

packages/flutter/lib/src/material/banner_theme.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
/// @docImport 'banner.dart';
6+
library;
7+
58
import 'dart:ui' show lerpDouble;
69

710
import 'package:flutter/foundation.dart';

packages/flutter/lib/src/material/bottom_app_bar_theme.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
/// @docImport 'bottom_app_bar.dart';
6+
/// @docImport 'material.dart';
7+
library;
8+
59
import 'dart:ui' show lerpDouble;
610

711
import 'package:flutter/foundation.dart';

packages/flutter/lib/src/material/bottom_navigation_bar.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
/// @docImport 'color_scheme.dart';
6+
/// @docImport 'navigation_bar.dart';
7+
/// @docImport 'scaffold.dart';
8+
library;
9+
510
import 'dart:collection' show Queue;
611
import 'dart:math' as math;
712

0 commit comments

Comments
 (0)