kraken library
Classes
- AssetsBundle
- Kraken
- KrakenBundle
- KrakenController
- KrakenModuleController
- KrakenRenderWidget
- KrakenViewController
- NetworkAssetBundle
-
An
AssetBundle
that loads resources over the network. [...] - NetworkBundle
- RawBundle
Mixins
Constants
- BUNDLE_PATH → const String
-
'KRAKEN_BUNDLE_PATH'
- BUNDLE_URL → const String
-
'KRAKEN_BUNDLE_URL'
- DEFAULT_BUNDLE_PATH → const String
-
'assets/bundle.js'
- ENABLE_DEBUG → const String
-
'KRAKEN_ENABLE_DEBUG'
- ENABLE_PERFORMANCE_OVERLAY → const String
-
'KRAKEN_ENABLE_PERFORMANCE_OVERLAY'
Functions
-
getBundlePathFromEnv(
) → String -
getBundleURLFromEnv(
) → String -
launch(
{String bundleURLOverride, String bundlePathOverride, String bundleContentOverride, bool debugEnableInspector, Color background}) → void -
setTargetPlatformForDesktop(
) → void - If the current platform is a desktop platform that isn't yet supported by TargetPlatform, override the default platform to one that is. Otherwise, do nothing. No need to handle macOS, as it has now been added to TargetPlatform.
Typedefs
-
ConnectedCallback(
) → void -
JSErrorHandler(
String message) → void -
KrakenOnLoad(
KrakenController controller) → void -
LoadErrorHandler(
FlutterError error, StackTrace stack) → void