AFProjectPaths class

Constructors

AFProjectPaths()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

extraParentFolder List<String>?
getter/setter pair

Static Methods

createFile(List<String> folders, String filename, {required bool underSrc}) List<String>
createLibraryFriendlyPathFor(List<String> relativeFolder) String
createPath(List<String> folders, {required bool underSrc}) List<String>
createProjectFolder(List<String> projectPath) → void
ensureFolderExists(List<String> filePath) bool
ensureFolderExistsForFile(List<String> filePath) bool
fullPathFor(List<String> relativePath) String
generateFileExists(List<String> relativePath) bool
generateFolderFor(List<String> subpath) List<String>
generatePathFor(List<String> projectPath) String
hasLibSrcFolder(List<String> projectRootFolders) bool
inRootOfAfibProject(AFCommandContext ctx) bool
pathExists(String path) bool
projectFileExists(List<String> relativePath) bool
relativePathFor(List<String> projectPath, {bool allowExtra = true}) String

Constants

afibConfigFile → const String
afibFolder → const String
afTestConfigFile → const String
afTestConfigPath → const List<String>
afTestFile → const String
afTestPath → const List<String>
folderCore → const String
folderCount → const String
folderEvalDemo → const String
folderExample → const String
folderFiles → const String
folderProjectStyles → const String
folderSnippets → const String
folderStarterMinimal → const String
folderStarterSignin → const String
folderStarterSigninFirebase → const String
folderTestIntentionalFailTest → const String
generateFolder → const String
idFile → const String
idPath → const List<String>
initializationFolder → const String
initializationPath → const List<String>
libFolder → const String
libPath → const List<String>
pathGenerateCoreFiles → const List<String>
pathGenerateCoreSnippets → const List<String>
pathGenerateExample → const List<String>
pathGenerateExampleEvalDemoFiles → const List<String>
pathGenerateExampleEvalDemoSnippets → const List<String>
pathGenerateStarterMinimalFiles → const List<String>
pathGenerateStarterMinimalSnippets → const List<String>
pathGenerateStarterSigninFiles → const List<String>
pathGenerateStarterSigninFirebaseFiles → const List<String>
pathGenerateStarterSigninFirebaseSnippets → const List<String>
pathGenerateStarterSigninSnippets → const List<String>
pathGenerateTestIntentionalFailTestFiles → const List<String>
pathProjectStyles → const List<String>
pubspecFile → const String
File names
pubspecPath → const List<String>
srcFolder → const String
testFolder → const String