BACK TO LIST

Dart rules

Codiga provides multiple sets of rules for 12+ languages. Below we provide a link and a description for all the rules supported by our platform. Note that not all the rules are being listed and described below.

AVOID_SETTERS_WITHOUT_GETTERS

Design
Warning

Avoid setters without getters.

Learn more

INVALID_RETURN_TYPE_FOR_CATCH_ERROR

Design
Error

Invalid return type value

LIBRARY_PRIVATE_TYPES_IN_PUBLIC_API

Design
Error

Using library private types in public APIs

We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.