title: Try using 'as prefix' for one of the imported directives,or hiding the name from all but one of the import
body: <p>I have imported a Eosdart package which have action.dart file and even flutter have action.dart file so there is conflict which one should pick.
   please help in removing the conflict
  <strong>i have mentioned the error detail as a comment in code where i have got the error</strong></p>
  
  <pre><code>
  
  class _AddBorrowerState extends State&lt;AddBorrower&gt; {
    eos.Account _account;
    eos.EOSClient _eosClient = eos.EOSClient(
        'http://jungle2.cryptolions.io:80', 'v1',
        privateKeys: ["5JfVW2PtRkAcLbLETevxCwaQuT8NNWvP2eBYCrPRKPBWDgZDEo1"]);
  
    List&lt;eos.Authorization&gt; auth = [
      eos.Authorization()
        ..actor = 'guru11111111'
        ..permission = 'active'
    ];
  
    Map data = {
      'acc_name': myController1.text,**error only static member can be accessed in initializers**
      'b_id': '119',
      'location': 'mumbai',
      'b_phone': '11231212',
    };
  
    List&lt;eos.Action&gt; actions = [
      eos.Action()
        ..account = 'guru11111111'
        ..name = 'addborrower'
        ..authorization = auth   **ERROR only static member can be accessed in initializers**
        ..data = data**error only static member can be accessed in initializers**
    ];
    eos.Transaction transaction = eos.Transaction()..actions = actions;
  
    void _fetchEOSAccount() {
      _eosClient.getAccount(myController2.text).then((eos.Account account) {
        setState(() {
          _account = account;
        });
      });
    }
  
    void add() {
      _eosClient.pushTransaction(transaction, broadcast: true).then((trx) {
        print(trx);
      });
    }
  
    final myController1 = TextEditingController();
    final myController2 = TextEditingController();
    final myController3 = TextEditingController();
    final myController4 = TextEditingController();
    final myController5 = TextEditingController();
  
    @override
    Widget build(BuildContext context) {
      return MaterialApp(
        home: Scaffold(
          backgroundColor: Colors.teal,
          body: SafeArea(
            child: Column(
              children: &lt;Widget&gt;[
                Card(
                  color: Colors.white,
                  margin: EdgeInsets.symmetric(vertical: 10, horizontal: 25),
                  child: TextField(**//these are textfeild who's value we want to store in eos table **
                    controller: myController1,
                    decoration: InputDecoration(
                      border: InputBorder.none,
                      hintText: 'Enter Full Name',
                    ),
                  ),
                ),
                Card(
                  color: Colors.white,
                  margin: EdgeInsets.symmetric(vertical: 10, horizontal: 25),
                  child: TextField(
                    controller: myController2,
                    decoration: InputDecoration(
                      border: InputBorder.none,
                      hintText: 'Enter ID',
                    ),
                  ),
                ),
                 Card(
                  color: Colors.white,
                  child: FlatButton(
                    child: Text('Submit'),
                    onPressed: () {
  //                    Navigator.pop(context);
                      _fetchEOSAccount();
                    },
                  ),
                ),
                Flexible(
                  child: Text('${_account?.toJson()}'),
                ),
              ],
            ),
          ),
        ),
      );
    }
  }
  </code></pre>
  
  <p>ERROR:error only static member can be accessed in initializers,what does this means ? what should i do ?</p>