Add missing type arguments to fix implicit dynamic. (#48853)
This commit is contained in:
parent
6408f71a7c
commit
5a072a9365
@ -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() {
|
|||||||
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() {
|
|||||||
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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user