SaveFileTextCallbackD class abstract
- Inheritance
-
- Object
- RaylibCallback<
SaveFileTextCallbackBase, SaveFileTextCallbackFunction> - SaveFileTextCallbackBase
- SaveFileTextCallbackD
Constructors
- SaveFileTextCallbackD([String? name])
- SaveFileTextCallbackD.friendly(SaveFileTextCallbackFriendlyFunction f, {String? name})
-
factory
- SaveFileTextCallbackD.function(SaveFileTextCallbackFunction f, {String? name})
-
factory
Properties
- function → SaveFileTextCallbackFunction
-
The Dart function exposed to the native side.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
A human-readable name for this callback, used in toString and logging.
getter/setter pairinherited
-
nativeFunction
→ MemoryPointer<
RFunction< SaveFileTextCallbackBase> > -
no setterinherited
-
registry
→ Map<
int, SaveFileTextCallbackBase> -
The registry of live callbacks for this callback type.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attach(
) → MemoryPointer< RFunction< SaveFileTextCallbackBase> > -
Registers this callback and returns its function pointer.
inherited
-
detach(
[bool keepAlive = false]) → MemoryPointer< RFunction< SaveFileTextCallbackBase> > -
Removes this callback from registry, optionally disposes it, and
returns its function pointer.
inherited
-
dispose(
) → void -
Marks this instance as disposed.
override
-
initializer(
) → MemoryPointer< RFunction< SaveFileTextCallbackBase> > -
Backend-specific: produces the callable native pointer for function.
Native: wraps a
NativeCallable<C>, returns its nativeFunction cast to RVoid. Wasm: registers via addFunction(jsFunction, signature), wraps the int as a pointer.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns name.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited