libghosttyVtVersion top-level property Build hook options

String get libghosttyVtVersion

The full version of the loaded libghostty-vt library (ghostty_version), such as 1.0.0 or 1.1.0-dev+abc1234.

This is the library found at run time, which can differ from the 1.0.0 headers this package was generated from. Which library is loaded is chosen by the build hook's source option.

Implementation

String get libghosttyVtVersion => ghostty_version().cast<Utf8>().toDartString();