FlutterRepoSnippetConfiguration class

A class to compute the configuration of the snippets input and output locations based in the current location of the snippets main.dart.

Inheritance

Constructors

FlutterRepoSnippetConfiguration({required Directory flutterRoot, FileSystem filesystem = const LocalFileSystem()})

Properties

configDirectory → Directory
This is the configuration directory for the snippets system, containing the skeletons and templates.
finalinherited
filesystem → FileSystem
finalinherited
flutterRoot → Directory
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skeletonsDirectory → Directory
The directory containing the HTML skeletons to be filled out with metadata and returned to dartdoc for insertion in the output.
finalinherited
templatesDirectory → Directory
The directory containing the code templates that can be referenced by the dartdoc.
finalinherited

Methods

getHtmlSkeletonFile(String type) → File
Gets the skeleton file to use for the given SampleType and DartPad preference.
inherited
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