You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My header is only 1 row and is: void start_application(void);.
So when I run flutter pub run ffigen it creates a dart file with errors like: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. Try adding the name of the type of the variable or the keyword 'var'. and then The instance member '_start_applicationPtr' can't be accessed in an initializer. Try replacing the reference to the instance member with a different expression
Any clue why I get these errors?
The text was updated successfully, but these errors were encountered:
Hi!
Copied this example. My pubspec:
My header is only 1 row and is:
void start_application(void);
.So when I run
flutter pub run ffigen
it creates a dart file with errors like:Variables must be declared using the keywords 'const', 'final', 'var' or a type name. Try adding the name of the type of the variable or the keyword 'var'.
and thenThe instance member '_start_applicationPtr' can't be accessed in an initializer. Try replacing the reference to the instance member with a different expression
Any clue why I get these errors?
The text was updated successfully, but these errors were encountered: