DO use lowercase_with_underscores when specifying a library prefix".
Just zxing might be better.
import 'package:flutter_zxing/flutter_zxing.dart' as zxing;
Method names are also wrong. readImagePath, readImagePathString and readImageUrl are actually readBarcodeImagePath, readBarcodeImagePathString and readBarcodeImageUrl. There may be more mistakes.
FlutterZxing
looks like a class name, but it does not exist. If you mean a prefix for the library, theas
keyword should be used.But
as FlutterZxing
violates the library_prefixes rule:Just
zxing
might be better.Method names are also wrong.
readImagePath
,readImagePathString
andreadImageUrl
are actuallyreadBarcodeImagePath
,readBarcodeImagePathString
andreadBarcodeImageUrl
. There may be more mistakes.