la-haus / flutter-segment

Segment.io library for flutter
MIT License
22 stars 139 forks source link

Don't import implementation files from another package error #24

Closed ahetawal-p closed 2 years ago

ahetawal-p commented 2 years ago

Flutter analyze seems to fail with this error:

info • Don't import implementation files from another package • lib/generated_plugin_registrant.dart:17:8 • implementation_imports

import 'package:flutter_segment/src/segment_web.dart' 

SegmentWeb.registerWith(registrar);
ariefwijaya commented 2 years ago

Just ignore them, you can add this config in your analysis_options

analyzer:
  exclude:
    - lib/generated_plugin_registrant.dart # add this

@ahetawal-p

ariefwijaya commented 2 years ago

@ahetawal-p did you solved the issue? if yes, we can close this.