[rename fixit] *Component* -> *Widget*

This patch renames StatelessComponent to StatelessWidget and
StatefulComponent to StatefulWidget.

Fixes #2308
This commit is contained in:
Adam Barth
2016-03-12 12:13:16 -08:00
parent 892063ac69
commit 95fc5ae070
152 changed files with 410 additions and 410 deletions

View File

@@ -51,7 +51,7 @@ class PianoKey {
}
}
class PianoApp extends StatelessComponent {
class PianoApp extends StatelessWidget {
final List<PianoKey> keys = <PianoKey>[
new PianoKey(Colors.red[500], chimes),
new PianoKey(Colors.orange[500], chainsaw),