Commit 5a072a93 authored by Konstantin Scheglov's avatar Konstantin Scheglov Committed by Flutter GitHub Bot

Add missing type arguments to fix implicit dynamic. (#48853)

parent 6408f71a
...@@ -874,8 +874,8 @@ void main() { ...@@ -874,8 +874,8 @@ void main() {
builder: (BuildContext context) { builder: (BuildContext context) {
return RaisedButton( return RaisedButton(
onPressed: () { onPressed: () {
Navigator.of(context).push( Navigator.of(context).push<void>(
MaterialPageRoute<dynamic>( MaterialPageRoute<void>(
builder: (BuildContext innerContext) { builder: (BuildContext innerContext) {
return Container( return Container(
key: containerKey, key: containerKey,
...@@ -924,8 +924,8 @@ void main() { ...@@ -924,8 +924,8 @@ void main() {
builder: (BuildContext context) { builder: (BuildContext context) {
return RaisedButton( return RaisedButton(
onPressed: () { onPressed: () {
Navigator.of(context).push( Navigator.of(context).push<void>(
ModifiedReverseTransitionDurationRoute<dynamic>( ModifiedReverseTransitionDurationRoute<void>(
builder: (BuildContext innerContext) { builder: (BuildContext innerContext) {
return Container( return Container(
key: containerKey, key: containerKey,
...@@ -983,8 +983,8 @@ void main() { ...@@ -983,8 +983,8 @@ void main() {
builder: (BuildContext context) { builder: (BuildContext context) {
return RaisedButton( return RaisedButton(
onPressed: () { onPressed: () {
Navigator.of(context).push( Navigator.of(context).push<void>(
ModifiedReverseTransitionDurationRoute<dynamic>( ModifiedReverseTransitionDurationRoute<void>(
builder: (BuildContext innerContext) { builder: (BuildContext innerContext) {
return Container( return Container(
key: containerKey, key: containerKey,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment