📜  颤振错误:“路由器”是从两者导入的 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:27.843000             🧑  作者: Mango

代码示例1
For anyone else running into this issue, I changed my flutter/material.dart import to this:

import 'package:flutter/material.dart' hide Router;