add missing type parameter on methods (#22096)
This commit is contained in:
committed by
GitHub
parent
48fb726b01
commit
f62afdcf57
@@ -59,7 +59,7 @@ class TestApp extends StatelessWidget {
|
||||
builder: (BuildContext context) {
|
||||
return Scaffold(
|
||||
body: ListView(
|
||||
children: routes.map((String value) {
|
||||
children: routes.map<Widget>((String value) {
|
||||
return MaterialButton(
|
||||
child: Text(value),
|
||||
onPressed: () {
|
||||
|
||||
Reference in New Issue
Block a user