VariablesAPI class

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

VariablesAPI.new({Future<Variable?> getVariableByIdAsync(String)?, Variable? getVariableById(String)?, Future<VariableCollection?> getVariableCollectionByIdAsync(String)?, VariableCollection? getVariableCollectionById(String)?, Future<List<Variable>> getLocalVariablesAsync([VariableResolvedDataType?])?, List<Variable> getLocalVariables([VariableResolvedDataType?])?, Future<List<VariableCollection>> getLocalVariableCollectionsAsync()?, List<VariableCollection> getLocalVariableCollections()?, VariableCollection createVariableCollection(String)?, VariableAlias createVariableAlias(Variable)?, Future<VariableAlias> createVariableAliasByIdAsync(String)?, SolidPaint setBoundVariableForPaint(SolidPaint, VariableBindablePaintField, [Variable?])?, Object setBoundVariableForEffect(Object, VariableBindableEffectField, [Variable?])?, Object setBoundVariableForLayoutGrid(Object, VariableBindableLayoutGridField, [Variable?])?, Future<Variable> importVariableByKeyAsync(String)?})
factory

Properties

createVariable → ({Variable Function(String name, String collectionId, VariableResolvedDataType resolvedType) $1, Variable Function(String name, VariableCollection collection, VariableResolvedDataType resolvedType) $2})

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

Overload accessor: $1, $2
no setter
createVariableAlias VariableAlias Function(Variable)

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair
createVariableAliasByIdAsync Future<VariableAlias> Function(String)

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair
createVariableCollection VariableCollection Function(String)

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair
getLocalVariableCollections List<VariableCollection> Function()

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair
getLocalVariableCollectionsAsync Future<List<VariableCollection>> Function()

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair
getLocalVariables List<Variable> Function([VariableResolvedDataType?])

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair
getLocalVariablesAsync Future<List<Variable>> Function([VariableResolvedDataType?])

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair
getVariableById Variable? Function(String)

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair
getVariableByIdAsync Future<Variable?> Function(String)

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair
getVariableCollectionById VariableCollection? Function(String)

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair
getVariableCollectionByIdAsync Future<VariableCollection?> Function(String)

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
importVariableByKeyAsync Future<Variable> Function(String)

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setBoundVariableForEffect Object Function(Object, VariableBindableEffectField, [Variable?])

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair
setBoundVariableForLayoutGrid Object Function(Object, VariableBindableLayoutGridField, [Variable?])

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair
setBoundVariableForPaint SolidPaint Function(SolidPaint, VariableBindablePaintField, [Variable?])

Available on VariablesAPI, provided by the VariablesAPI$Typings extension

getter/setter pair

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