SlintComponentOps class final

The C entry points of one AOT-compiled component.

A generated *.aot.g.dart declares the @Native externs — they must live there, bound to that file's @DefaultAsset — and bundles them here, so everything downstream of the ABI is written once, in this package.

Constructors

SlintComponentOps({required Pointer<Char> lastError(), required void stringFree(Pointer<Char>), required Pointer<Void> create(), required void free(Pointer<Void>), required void setSize(Pointer<Void>, int, int), required bool render(Pointer<Void>, Pointer<Uint8>, int), required void pointerEvent(Pointer<Void>, int, double, double, int, double, double), required void keyEvent(Pointer<Void>, Pointer<Char>, bool), required Pointer<Char> getProperty(Pointer<Void>, Pointer<Char>), required bool setProperty(Pointer<Void>, Pointer<Char>, Pointer<Char>), required Pointer<Char> invoke(Pointer<Void>, Pointer<Char>, Pointer<Char>), required bool setCallback(Pointer<Void>, Pointer<Char>, Pointer<NativeFunction<SlintAotCallbackNative>>, Pointer<Void>)})
const

Properties

create Pointer<Void> Function()
final
free → void Function(Pointer<Void>)
final
getProperty Pointer<Char> Function(Pointer<Void>, Pointer<Char>)
final
hashCode int
The hash code for this object.
no setterinherited
invoke Pointer<Char> Function(Pointer<Void>, Pointer<Char>, Pointer<Char>)
final
keyEvent → void Function(Pointer<Void>, Pointer<Char>, bool)
final
lastError Pointer<Char> Function()
final
pointerEvent → void Function(Pointer<Void>, int, double, double, int, double, double)
final
render bool Function(Pointer<Void>, Pointer<Uint8>, int)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setCallback bool Function(Pointer<Void>, Pointer<Char>, Pointer<NativeFunction<SlintAotCallbackNative>>, Pointer<Void>)
final
setProperty bool Function(Pointer<Void>, Pointer<Char>, Pointer<Char>)
final
setSize → void Function(Pointer<Void>, int, int)
final
stringFree → void Function(Pointer<Char>)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readString(Pointer<Char> p) String
Copies a C string into Dart and frees the original.
takeError() String
Reads and frees the glue crate's thread-local error slot.
toString() String
A string representation of this object.
inherited

Operators

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