FlutterProjectStyleGuideChecker class

Flutter project style guide linter.

Inheritance

Constructors

FlutterProjectStyleGuideChecker(File styleGuide, Directory projectDir, CodeStyleViolationsParser parser, CodeStyleViolationsReporter reporter)
create a Flutter code style guide linter.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
parser CodeStyleViolationsParser
Parse founded style check violations.
finalinherited
projectDir Directory
project directory containing the code.
finalinherited
reporter CodeStyleViolationsReporter
Report founded style check violations.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styleGuide File
style guide to verify.
finalinherited

Methods

check() Future<void>
Run the checker.
inherited
getCodeStyleViolations() Future<String>
Found styleGuide violations from the projectDir.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runPubGet() Future<void>
Run the
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited