isFlutterProject property

bool get isFlutterProject

Returns true if this project is a flutter projects.

We check to see if flutter is a project dependency.

Implementation

bool get isFlutterProject => pubSpec.dependencies.containsKey('flutter');