PackageIOUtils extension

Utilities to help dealing with paths to common package files.

on

Properties

analysisOptions File

Available on Directory, provided by the PackageIOUtils extension

The analysis_options.yaml file.
no setter
packageConfig File

Available on Directory, provided by the PackageIOUtils extension

The .dart_tool/package_config.json file.
no setter
pubspec File

Available on Directory, provided by the PackageIOUtils extension

The pubspec.yaml file.
no setter
pubspecOverrides File

Available on Directory, provided by the PackageIOUtils extension

The pubspec_overrides.yaml file.
no setter

Methods

dir(String name, [String? name2, String? name3, String? name4, String? name5, String? name6]) Directory

Available on Directory, provided by the PackageIOUtils extension

Creates a child Directory from a list of path segments.
file(String name, [String? name2, String? name3, String? name4, String? name5, String? name6]) File

Available on Directory, provided by the PackageIOUtils extension

Creates a child File from a list of path segments.
relativeTo(FileSystemEntity other) String

Available on Directory, provided by the PackageIOUtils extension

Returns a path relative to the given other.