Answers for "flutter Error: 'Router' is imported from both"

0

flutter Error: 'Router' is imported from both

For anyone else running into this issue, I changed my flutter/material.dart import to this:

import 'package:flutter/material.dart' hide Router;
Posted by: Guest on October-26-2020

Code answers related to "flutter Error: 'Router' is imported from both"

Browse Popular Code Answers by Language