ProjectAnalysis class

Result of statically analyzing a Flutter project.

Constructors

ProjectAnalysis({required String name, required String root, required List<String> files, required List<WidgetClass> widgets, required List<String> diagnostics})

Properties

diagnostics → List<String>
final
files → List<String>
Analyzed .dart files, relative to root.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
Package name from pubspec.yaml.
final
root → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
screens → List<WidgetClass>
Widget classes whose build produces a Scaffold.
no setter
widgets → List<WidgetClass>
Every widget class declared in the project.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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