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() {
builder: (BuildContext context) {
return RaisedButton(
onPressed: () {
Navigator.of(context).push(
MaterialPageRoute<dynamic>(
Navigator.of(context).push<void>(
MaterialPageRoute<void>(
builder: (BuildContext innerContext) {
return Container(
key: containerKey,
......@@ -924,8 +924,8 @@ void main() {
builder: (BuildContext context) {
return RaisedButton(
onPressed: () {
Navigator.of(context).push(
ModifiedReverseTransitionDurationRoute<dynamic>(
Navigator.of(context).push<void>(
ModifiedReverseTransitionDurationRoute<void>(
builder: (BuildContext innerContext) {
return Container(
key: containerKey,
......@@ -983,8 +983,8 @@ void main() {
builder: (BuildContext context) {
return RaisedButton(
onPressed: () {
Navigator.of(context).push(
ModifiedReverseTransitionDurationRoute<dynamic>(
Navigator.of(context).push<void>(
ModifiedReverseTransitionDurationRoute<void>(
builder: (BuildContext innerContext) {
return Container(
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