Questions tagged [dart2native]
5 questions
5
votes
2 answers
DART : Why dart apps are so big in size? (console app)
i made a console app with dart that calculates 2 numbers and prints them
the size came about 5 MB !!
Download link (Windows only) https://drive.google.com/open?id=1sxlvlSZUdxewzFNiAv_bXwaUui2gs2yA
Here is the code
import 'dart:io';
int…

Airbus 5717
- 79
- 4
2
votes
0 answers
Embedding resource files into Dart2Native executables
Is it possible to embed resource files in the Dart2Native binary? I have an https server where I wanted to embed the server TLS certs (self-signed) along with the binary. I am using the following code to read the resource data.
var cert = await…

Suresh
- 1,925
- 1
- 18
- 21
0
votes
1 answer
dart2native is not recognized
First I install the flutter that contains the dart-sdk at
C:\src\flutter\bin\cache\dart-sdk and I added this path to the environment variables
but I still get 'dart2native' is not recognized as an internal or external command, operable program or…

Sittiphan Sittisak
- 486
- 4
- 15
0
votes
1 answer
Dart perform runtime subtype checking
I would like to perform runtime subtype checking in Dart without using dart:mirrors.
What I mean by this is that given two types A and B, either as variables with type Type or as type arguments on a generic class (i.e the variables being checked…

Abitofevrything
- 26
- 1
- 2
0
votes
1 answer
Can a dart2native executable be published on AppStore and MicrosoftStore?
We are looking into building some apps with Flutter for desktop.
We know it is in beta or alpha stage, however, as our app is relatively simple, we may be able to use Flutter now.
However, reading here and there I am not sure if it will be possible…

Jonathan
- 4,724
- 7
- 45
- 65