Description
Hi
I am unable to set up the avoid-banned-imports to warn when there's an import from flutter that has a show on my presentation layer, let's say a ViewModel.
I want to allow only the tag visibleForTesting like:
import 'package:flutter/foundation.dart' show visibleForTesting;
And warn if the show is not added, like:
import 'package:flutter/foundation.dart';
Why do you consider it necessary?
This is useful for testing and the tag comes from the flutter SDK 🤔
Description
Hi
I am unable to set up the
avoid-banned-importsto warn when there's an import from flutter that has ashowon my presentation layer, let's say a ViewModel.I want to allow only the tag
visibleForTestinglike:And warn if the show is not added, like:
Why do you consider it necessary?
This is useful for testing and the tag comes from the flutter SDK 🤔