Questions tagged [flutter-engine]
46 questions
1
vote
1 answer
Why hard coded values were not increase the size of the flutter app?
I use 20 MB of text as String data inside a flutter Text() widget, But it did not increase the release app size.
APK size before adding 20MB of text data = 5.4MB
APK size After adding 20MB of text data = 5.4MB
(Note:- text data is not an unused…

dilshan
- 2,045
- 20
- 18
1
vote
3 answers
How Flutter framework optimizes the widget rendering if build method can be called many times?
I have a simple question. In Flutter docs it is explained build method can be called many times by framework and it is recomended that we should only return widgets through the build method. But even we return only widgets, isn't it causing some…

shuster
- 184
- 3
- 10
1
vote
0 answers
Using Flutter Engine in Flutter apps: is it possible?
I have a macOS app in Flutter inside which I would like to have a Flutter Engine running to render another Flutter app.
Basically what I'm trying to achieve is using the AOT compiler to release my macOS app, inside which I want to use JIT & Flutter…

Gabriel Gatu
- 81
- 2
- 6
1
vote
1 answer
How do I pass arguments to Flutter/Dart main function when I create engine in Android/iOS?
I want pass some arguments to Flutter main function in main.dart.
const customTestFlag = bool.fromEnvironment("CUSTOM_TEST_FLAG");
void main(List args) {
// I want get some arguments in there
print('get args from main.dart =>…

Abominus
- 13
- 4
1
vote
0 answers
How to add ImplicitlyAnimatedReorderableList (Reordareble ) in ExpansionPanelList?
I'm Using ImplicitlyAnimatedReorderableList (implicitly_animated_reorderable_list: ^0.2.3) : https://pub.dev/packages/implicitly_animated_reorderable_list
Facing issue :
════════ Exception caught by rendering library…

Furkan
- 306
- 4
- 17
1
vote
1 answer
How VSCODE appoint flutter engine path when excutive "Debug: Attach to Flutter on Device"?
background
I want to set breakpoint in dart code by vscode debuging, normaly i can add configuration.args like --local-engine and --local-engine-src-path, unfortunately is that this flutter app must be andoird.intent.category.DEFAULT, so that i can…

莫得盐
- 11
- 1
1
vote
2 answers
Unable to pre-warm the engine and them use it later on Android
I have an android SDK to be used by clients, the SDK has some abstractions so the clients don't have to deal with flutter bindings.
I the SDK I have something like this
class SDKPrivate {
private static FlutterEngine flutterEngine;
...
public…

Manuel Peixoto
- 372
- 4
- 16
1
vote
0 answers
How to engine map in the developed source code in Flutter? (Android)
I have recently developed an Android App with Google's Flutter Framework. When taking a deeper look into what is going on when the app compiles I saw that flutter builds four blobs of data (non-ELF binary). How does the Flutter engine load that code…

DoJo
- 11
- 1
0
votes
0 answers
Adding Flutter Module to Android and Triggering a Specific Route
I want to add a Flutter Module into an existing Android application. I'm doing this theoretically but I couldn't get exactly the result I wanted. Because I'm using Flutter Cache Engine and when the Android application is run, my Flutter module also…

ATK
- 103
- 1
- 11
0
votes
0 answers
How to setup flutter engine in linux for using software rendering
I have a Flutter application that needs to be ported to a new platform, which uses Linux as its operating system. However, the OpenGL environment on the system is currently unavailable. After looking at the Flutter engine code, I know that Flutter…

onlyG
- 1
- 4
0
votes
0 answers
How to show percentage in the flutter web initialisation page?
Currently I am showing a loader when the flutter web is getting initialised.
Index: