HighchartsHelpers class abstract Utilities

Flutter-specific helpers to be used with Highcharts Flutter.

Constructors

HighchartsHelpers.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

escapeHTML(String? text) String
Replaces special HTML characters with escape sequences.
fetchList<T>(Uri uri) Future<List<T>?>
Fetches a JSON list from a URI. Returns null if the request fails or decoding fails.
fetchMap(Uri uri) Future<Map<String, dynamic>?>
Fetches a JSON map from a URI. Returns null if the request fails or decoding fails.
loadAssets(List<String> assetPaths, {AssetBundle? assetBundle}) Future<List<String>>
Loads a list of asset paths and returns the bundles assets as raw strings.
scriptTag(String? script) String
Creates a script tag with the script code as a data URI.
styleTag(String? css) String
Creates a style tag with the CSS code.