[rename fixit] *Component* -> *Widget*
This patch renames StatelessComponent to StatelessWidget and StatefulComponent to StatefulWidget. Fixes #2308
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user