MethodChannelSfSymbols class

An implementation of SfSymbolsPlatform that uses method channels.

Inheritance

Constructors

MethodChannelSfSymbols()

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel used to interact with the native platform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose(int textureId) → Future<void>
Releases the texture.
override
effectSupport() → Future<SfSymbolEffectSupport>
Which symbol effects the running OS version can play.
override
init(SfSymbolConfig config) → Future<int?>
Registers a texture for config, returning its id, or null if the symbol could not be created.
override
isAvailable(String name) → Future<bool>
Whether a symbol named name exists on the running OS version.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(int textureId) → Future<Size?>
Draws the symbol into the texture, returning its size in points.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

encodeConfig(SfSymbolConfig config) → Map<String, dynamic>
Encodes config for the native side.

Constants

idKey → const String