You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that Flutter's material library has a component named NavigationRail, on latest master's channel, when importing both this library and material, this error is thrown:
error: The name 'NavigationRail' is defined in the libraries 'package:flutter/src/material/navigation_rail.dart (via package:flutter/material.dart)' and 'package:navigation_rail/navigation_rail.dart'. (ambiguous_import at [<elided>])
The workaround to make this compatible is changing material's import like this:
The easiest (but breaking) way to solve this is to rename NavigationRail or warn about what you should do in order to import both this plugin and material.
The text was updated successfully, but these errors were encountered:
Now that Flutter's
material
library has a component namedNavigationRail
, on latestmaster
's channel, when importing both this library andmaterial
, this error is thrown:The workaround to make this compatible is changing
material
's import like this:The easiest (but breaking) way to solve this is to rename
NavigationRail
or warn about what you should do in order to import both this plugin andmaterial
.The text was updated successfully, but these errors were encountered: