GitStampNode class abstract

The GitStampNode class contains information provided during generation.

dart run git_stamp --build-type full

Used by GitStampPage.

Can be used to extract information.

Example:

const appVersion = GitStamp.appVersion;

Constructors

GitStampNode()

Properties

appBuild String
Application build number from pubspec.yaml.
no setter
appName String
Application name from pubspec.yaml.
no setter
appVersion String
Application version from pubspec.yaml.
no setter
appVersionFull String
Application version + build number from pubspec.yaml.
no setter
branchList List<String>
List of branches in git repository as List.
no setter
branchListCount int
Number of branches in the repository.
no setter
branchListString String
List of branches in git repository as String.
no setter
buildBranch String
The branch from which the applications were built.
no setter
buildDateTime String
Date the application was built.
no setter
buildMachine BuildMachine
Returns BuildMachine.
no setter
buildMachineString String
Return BuildMachine as JSON.
no setter
buildSystemInfo String
Information that is visible during the
no setter
commitCount int
Commit List Count.
no setter
commitList List<Commit>
Commit List.
no setter
commitListString String
Commit List as JSON.
no setter
deps String
List of packages as a CLI style string.
no setter
diffList → DiffList
Diff List.
no setter
diffListString String
Diff List as JSON.
no setter
diffStatList → DiffList
Diff Stat List.
no setter
diffStatListString String
Diff Stat List as JSON.
no setter
gitConfigGlobalUser String
git global configuration from system during build.
no setter
gitConfigGlobalUserEmail String
git global configuration from system during build.
no setter
gitConfigGlobalUserName String
git global configuration from system during build.
no setter
gitConfigList String
git configuration while building.
no setter
gitConfigUser String
git local configuration from system during build.
no setter
gitConfigUserEmail String
git local configuration from system during build.
no setter
gitConfigUserName String
git local configuration from system during build.
no setter
gitCountObjects String
git count objects.
no setter
gitReflog String
git reflog.
no setter
gitRemote String
git origin.
no setter
hashCode int
The hash code for this object.
no setterinherited
isEncrypted bool
Displays whether GitStampNode is encrypted.
no setter
isLiteVersion bool
Checks if the build type is BuildType.lite.
no setter
latestCommit Commit?
Latest Commit.
no setter
observedFiles String
List of observable files in a git repository as String.
no setter
observedFilesCount int
Number of observable files in git repository.
no setter
observedFilesList List<String>
List of observable files in a git repository as List.
no setter
packageList List<Package>
List of packages that are in pubspec.yaml as List.
no setter
packageListCount int
The number of packages that are in pubspec.yaml.
no setter
packageListString String
List of packages that are in pubspec.yaml as JSON.
no setter
repoCreationDate String
The date the git repository was created.
no setter
repoPath String
The path of the repository on the system during build.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sha String
Latest Commit SHA.
no setter
tagList List<Tag>
Tag List.
no setter
tagListCount int
Tag List Count.
no setter
tagListString String
Tag List as json.
no setter
toolBuildType BuildType
GitStamp Build Type selected during generation.
no setter
toolVersion String
GitStamp version.
no setter

Methods

decrypt(Uint8List key, Uint8List iv) bool
Function to decrypt GitStampNode.
detailsPage({required Commit commit, String? monospaceFontFamily}) Widget
Only for testing.
icon() Widget
Returns an icon with information.
listTile({required BuildContext context, String? monospaceFontFamily}) Widget
Returns a ListTile widget to open a GitStampPage.
mainPage({String? monospaceFontFamily, bool showDetails = false, bool showFiles = false}) Widget
Only for testing.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showDetailsPage({required BuildContext context, required Commit commit, String? monospaceFontFamily, bool useRootNavigator = false}) → void
Only for testing.
showLicensePage({required BuildContext context, Widget? applicationIcon, String? applicationLegalese, bool useRootNavigator = false}) → void
Starts showLicensePage function from material package.
showMainPage({required BuildContext context, String? monospaceFontFamily, bool useRootNavigator = false}) → void
Starts GitStampPage.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited