isFirstPackage property

bool isFirstPackage

Is this the package at the top of the list? We display the first package specially (with "Libraries" rather than the package name).

Implementation

bool get isFirstPackage =>
    packageGraph.localPackages.isNotEmpty &&
    identical(packageGraph.localPackages.first, this);