SDK 2.0.0. Class:
FBEngine. No singleton. Auth: License & Auth. Enums: Parameter enums.Add the plugin
Logging
Call beforeFBEngine.create:
Create
ProvideappId + appKey, or licenseToken (license token string, {token} JSON, or native offline .lic). Token wins if both are set.
FBEngine.version reads the native SDK version string.
Skin, reshape, makeup
Intensity setters are synchronous — safe inSlider.onChanged.
Skin [0.0, 1.0]:
[-1.0, 1.0]:
Filter, sticker, virtual background
Path orUint8List bytes — not both. These return Future (file decode + GPU upload).
Events and stats
Still images
Use a separate engine withexternalContext: false. Do not call these on a TRTC engine, and do not process TRTC video from Dart.
FBBitmap.pixels is RGBA8888 (stride == width * 4).
Errors
Setters and async tasks throwFBException with codes 0, -1 … -8. See API reference.

