SlintCompilerFactory class final

AOT backend for the wrappers generated by slint_generator: instantiates a slint-build compiled component out of the app's own code asset, with no slint-interpreter involved.

One instance per component, declared by the generated *.aot.g.dart:

final app = TodoApp.create(todoAppFactory);

Constructors

SlintCompilerFactory({required String componentName, required SlintComponentOps ops})
const

Properties

componentName String
The single component this factory can instantiate.
final
hashCode int
The hash code for this object.
no setterinherited
ops SlintComponentOps
The C entry points backing componentName.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

instantiate(String componentName) → SlintSoftwareComponent
Needs no source — the component is already compiled into the code asset.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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