isDefault property

bool get isDefault

Whether this style matches the Ghostty default style exactly.

Implementation

bool get isDefault {
  final native = calloc<bindings.GhosttyStyle>();
  try {
    _writeTo(native.ref);
    return bindings.ghostty_style_is_default(native);
  } finally {
    calloc.free(native);
  }
}