main library
Classes
- FinalsRule
- Rule to ensure providers are declared as final
- ListenAndWatchFiltersRule
- Rule for watch/listen methods that should NOT have a tag when using filtered providers
- ListenAndWatchNoFiltersRule
- Rule for watch/listen methods that must have a tag when using tagged providers
- NoTagsRule
- Rule for watch/listen methods that should NOT have a tag when using non-tagged providers
- ProviderMethodsNoTagsRule
- Rule for provider methods that should NOT have a tag when NOT using BaseTagProvider
- ProviderMethodsTagsRule
- Rule for provider methods that must have a tag when using BaseTagProvider
- SimplePlugin
Properties
- plugin → SimplePlugin
-
final
Functions
-
hasMatch(
{required MethodInvocation node, required List< String> types, required List<String> methods, String? packageName}) → bool -
hasTags(
NodeList< Expression> arguments) → bool -
isAssignableToTypeName(
DartType? type, String typeName, {String? packageName}) → bool - Checks if a type is assignable to a type with the given name from a specific package
-
isExactlyTypeName(
DartType? type, String typeName, {String? packageName}) → bool - Checks if a type exactly matches a type with the given name from a specific package
-
noHasTags(
NodeList< Expression> arguments) → bool