Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit 6942e9c

Browse files
rkjnshahan
authored andcommitted
Remove visibility.all from @component annotations. This is potentially BREAKING
change. Please review carefully. Breakage will only be caught if the code is covered by tests. Reject this change if you believe it breaks you. If the component needs to be injected anywhere in the app, you can get a runtime exception after this change. This should be caught by tests using your components, and fixing the issue should be trivial, as the exceptions have good error messages, such as "No provider found for FooComponent". PiperOrigin-RevId: 190963299
1 parent 5e6e265 commit 6942e9c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/material_expansionpanel/material_expansionpanel_set.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import 'material_expansionpanel.dart';
1212
/// widget. Thus only allowing one panel to be open at a time.
1313
@Directive(
1414
selector: 'material-expansionpanel-set',
15-
// TODO(google): Change to `Visibility.local` to reduce code size.
16-
visibility: Visibility.all,
1715
)
1816
class MaterialExpansionPanelSet implements OnDestroy {
1917
final _panelDisposer = new Disposer.multi();

0 commit comments

Comments
 (0)