Open XiFengLang opened 2 months ago
We ran into this issue as well.
A temporary workaround is to hide Color
from this lib.
import 'package:faker/faker.dart' hide Color;
It also happens with Image
Where would this problem be in faker's code? I see nothing from the pub analysis: https://pub.dev/packages/faker/score/log.txt
Where would this problem be in faker's code? I see nothing from the pub analysis: https://pub.dev/packages/faker/score/log.txt
Our test code hade some like this:
import 'flutter/material.dart';
import 'package:faker/faker.dart';
final color = Colors.light_green;
dart analyze failed when use
Color
class in test。version
: 2.2.0