FusionChartsSource class

Declares which page the WebView host loads and which FusionCharts build it is expected to contain.

Always a Flutter asset so the rendering environment stays versioned with the application.

Constructors

FusionChartsSource.asset({String assetKey = packageAsset, String version = kFusionChartsVersion})
A page that loads FusionCharts from application assets.
factory
FusionChartsSource.fromIsLocal(bool isLocal)
Maps the legacy isLocal flag onto a source.
factory

Properties

assetKey String
Flutter asset key of the page to load, resolved with loadFlutterAsset.
final
hashCode int
The hash code for this object.
no setterinherited
mode FusionChartsSourceMode
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Constants

legacyLocalAsset → const String
The legacy asset layout shipped with the 1.x example application.
packageAsset → const String
The package-owned host page. This is the default.
unsupportedIsLocalFalseMessage → const String
Migration guidance surfaced to the application developer.
unsupportedSourceCode → const String
Error code reported through onError when isLocal: false is used.