FlutterExprtkNative class
An implementation of FlutterExprtkPlatform
for Windows.
- Inheritance
-
- Object
- PlatformInterface
- FlutterExprtkNative
Constructors
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
-
clear(
int pExpression) → void - Clear the expresseion
-
free(
int ptr) → void -
getConst(
int variableName, int pExpression) → double - Get the value of constant constantName
-
getResult(
int pExpression) → double - Get the result of an expresssion
-
getVar(
int variableName, int pExpression) → double - Get the current value of the variable variableName
-
isValid(
int pExpression) → int - Check whether an expression is valid
-
newExpression(
{required String expression, required Map< String, double> variables, Map<String, double> ? constants}) → int - Creates a new Expression instance in the native library Note: This shouldn't be called manually
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setConst(
int variableName, double variableValue, int pExpression) → void - Set the current value of the constant constantName
-
setVar(
int variableName, double variableValue, int pExpression) → void - Set variable variableName to variableValue
-
toNativeUtf8(
String string) → int - Get a pointer to a char* array
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
) → void - Registers the Windows implementation.