What does HackerNews think of flutter?
Flutter makes it easy and fast to build beautiful apps for mobile and beyond
I'm curious how you got 108mb. Here's what I'm seeing:
$ flutter --version
Flutter 3.0.4 • channel stable •
https://github.com/flutter/flutter
Framework • revision 85684f9300 (7 days ago) • 2022-06-30 13:22:47 -0700
Engine • revision 6ba2af10bb
Tools • Dart 2.17.5 • DevTools 2.12.2
$ flutter create hello_world && cd hello_world
Creating project hello_world...
Running "flutter pub get" in hello_world... 1,764ms
Wrote 127 files.
All done!
In order to run your application, type:
$ cd hello_world
$ flutter run
Your application code is in hello_world/lib/main.dart.
$ flutter build macos
Building with sound null safety
Building macOS application...
$ du -ah build/macos/Build/Products/Release/hello_world.app | tail -1
44M build/macos/Build/Products/Release/hello_world.app
Note, the release build is significantly smaller than the debug build, which includes a full Dart VM for hot swapping application code: $ flutter build macos --debug
Building with sound null safety
Building macOS application...
$ du -ah build/macos/Build/Products/Debug/hello_world.app | tail -1
98M build/macos/Build/Products/Debug/hello_world.app
Note, on the glacial compiles, here is what I'm seeing on my M1 mac laptop: $ time flutter build macos
Building with sound null safety
Building macOS application...
flutter build macos 1.20s user 0.59s system 47% cpu 3.801 total
It's slower than building web pages in vim, but this is comparable with compiling desktop applications in Xcode.Disclosure: I'm a Developer Relations Engineer for Flutter
flutter channel master
And it kept failing with:
------
git: remote: Internal Server Error.
git: remote:
git: fatal: unable to access 'https://github.com/flutter/flutter.git/': The requested URL returned error: 500
Switching channels failed with error code 128.
------
thought I was doing something wrong and spent some time troubleshooting.
[1] https://trends.google.com/trends/explore?q=%2Fg%2F11f03_rzbg...
"Go Flutter desktop embedder". Well, that's that? Click (https://github.com/flutter/flutter/wiki/Custom-Flutter-Engin...)
"The Flutter Engine is window toolkit agnostic. " What's flutter engine? Click (https://github.com/google/flutter-desktop-embedding)
"The purpose of this project is to support building applications that use Flutter " Ok, but what's Flutter? Click (https://github.com/flutter/flutter)
"Flutter is Google’s mobile app SDK for crafting high-quality native interfaces on iOS and Android in record time."
OOOOH. Ok.
- There's a catalog of simple but official examples in the Flutter repo, under the examples directory: https://github.com/flutter/flutter
- One Flutter user has contributed a pretty impressive list of examples and learning resources here: https://github.com/Solido/awesome-flutter
- One of my personal favorite examples is this restaurant app prototype, which is inspired by an Uplabs design: https://github.com/braulio94/menu_flutter
If you just follow the simple:
bash.exe...:
$ mkdir p; cd p
$ git clone https://github.com/flutter/flutter
$ cd bin
$ ./flutter doctor
it'll soon get up to speed, and eventually hang. Off course all this works on Windows, but I wanted to experiment with something as it encompasses several different things - language, environment, packages, jit-ing, etc.Still pretty excited about the development!
Heh, one thing I've learned the hard way, I made a symlink on my /mnt/c/ as /mnt/c/something - and this was making several windows tools unhappy, had to deleted from WSL and now it's fine.
I love Go, but it's not really a suitable language to do UI, or anything that deals with data models.
C#, however, is a perfect replacement for Java, most of the times. I would say "it's simply superior in every imaginable metric other than cross-platform implementations of the compiler/VM" but that's just my opinion.
What you mean is there: https://github.com/flutter/flutter (99.1% Dart)