Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dart(ambiguous_import) #4

Closed
divyanshuk10 opened this issue Dec 18, 2018 · 4 comments
Closed

dart(ambiguous_import) #4

divyanshuk10 opened this issue Dec 18, 2018 · 4 comments

Comments

@divyanshuk10
Copy link

divyanshuk10 commented Dec 18, 2018

The name 'Row' is defined in the libraries 'package:flutter/src/widgets/basic.dart' and 'package:mysql1/src/results/row.dart'.dart(ambiguous_import)

screen shot 2018-12-18 at 11 42 50 am

is there any solution for this ambiguity error.
my imports are as follow:-

import 'package:flutter/material.dart';
import 'package:mysql1/mysql1.dart' ;

@adamlofts
Copy link
Owner

You can use an import like import 'package:mysql1/mysql1.dart show MySqlConnection to import only some identifiers from a package.

@divyanshuk10
Copy link
Author

Can we use this in Mobile client code base for iOS and android.
Will this violate the Apple Store submission guidelines?

@adamlofts
Copy link
Owner

What are your specific concerns?

@divyanshuk10
Copy link
Author

You can use an import like import 'package:mysql1/mysql1.dart show MySqlConnection to import only some identifiers from a package.

okay thanks for your reply..!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants