language
gallery
DISCONTINUED
Our great sponsors
language | gallery | |
---|---|---|
146 | 44 | |
2,521 | 6,088 | |
1.7% | - | |
8.9 | 0.0 | |
7 days ago | 2 months ago | |
TeX | Dart | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
language
-
Dart 3.1 and a retrospective on functional style programming in Dart
Current syntax is not all that bad if you are going to do OO and add various helper methods on `Message` and its subclasses, but if you just want to define your data and no behavior / helpers - then it is exceedingly verbose.
-
HTML template languages?
A future version of Dart will probably support macros which should make this all a bit easier to use, similar to how Swift 5.9 works which makes already fantastic use of its new macro capabilities by integrating mobx (or solidjs) like reactivity into SwiftUI by a harmlessly looking @Obervable annotation.
-
Build clean & concise UI components with Flutter similar to styled-components in React Native
Yes, that needs a bit of boilerplate for the constructor declaration and the extra build method, but I personally don't mind and with implicit constructors this will become much easier. Also, you get a performant UI as Flutter knows to not redraw widgets that didn't change.
-
Why is Swift so slow (timeout) in compiling this code?
I implemented a prototype version of the algorithm in that paper when exploring exhaustiveness checking for pattern matching in Dart.
I found it pretty easy to understand, but also really easy to get it to generate huge combinatorially large spaces. Some careful memoization and deduplication helped, but even so I never got the performance to a state I considered acceptable.
Instead, I went with Luc Maranget's classic approach and figured out a way to adapt it to a language with subtyping (with a ton of work from Johnni Winther to figure out all of the hard complex cases around generics):
https://github.com/dart-lang/language/blob/main/accepted/fut...
The performance (in the prototype!) was dramatically better. You can always make pattern matching go combinatorial, but I haven't seen any real-world switches get particularly slow with our approach yet, and we have some fairly large tests of matching on tuples of enums.
-
Dart 3: 100% null-safe, records, pattern matching and class modifiers
We are working on a proposal to add macros to the language for sophisticated compile-time metaprogramming. But the goal is more for larger-scale uses of metaprogramming—synthesizing entire new declarations—and not really about extending the syntax.
-
Confirmed. Dart 3 on May 10th
Looked at, never gonna happen (says https://github.com/dart-lang/language/issues/69). The language would have to have been designed for that from the beginning, and now there are too many constructs that would require too much "guessing" to get proper syntax right.
-
Compile-time Dependency Injection for Dart and Flutter
However, I'm super stoked to see the community pushing forward. I think when/if metaprogramming becomes available (https://github.com/dart-lang/language/issues/1482), similar magical experience would be possible in Dart everywhere. Consider following that issue and providing feedback. IIRC the champion of that feature (https://github.com/jakemac53) would like to make DI frameworks one of the key use-cases for the language feature, and will appreciate your thoughts on what primitives you'd need.
-
Dart 4.0 vs a new language
Dart is openly developed. If you want to know what Dart 4.0 will bring browse the Github (https://github.com/dart-lang/language).
Macros: https://github.com/dart-lang/language/issues/1482
Not sharing memory between threads was a deliberate choice and I think it saves us from a lot of bugs. Especially race conditions in multi threaded code can be a pain to debug. But more you read a long discussion here: https://github.com/dart-lang/language/issues/333
gallery
-
Dart 3.1 and a retrospective on functional style programming in Dart
I was pessimistic about flutter 4 years ago but rechecked it recently (learning right now) and IMO it's really good user/developer proposition these days. They resolved most of issues on mobile devices and desktops - only web version still off but once wasmGC is ready (hopefully this year) probably things will improve.
Best way for developer elevator pitch just download few flutter apps and see how you like the experience:
1. wonderous - https://flutter.gskinner.com/wonderous/
2. flutterflow (low code + gui editor for flutter) - https://https://flutterflow.io/
3. appflowy (notion alternative) - https://appflowy.io/
4. flutter gallery (official flutter kitchen sink) -
Android (Google Play Store, .apk) - https://play.google.com/store/apps/details?id=io.flutter.dem...
web (gallery.flutter.dev) - https://gallery.flutter.dev/
macOS (.zip) - https://github.com/flutter/gallery/releases/latest
5. official material 3.0 demo - https://flutter.github.io/samples/web/material_3_demo/#/
-
Jitsi Meet Flutter SDK
I recommend to checkout and play with material 3.0 demo (just keep in mind this is web version will have even better when using native compiled version on mobile or desktop):
https://flutter.github.io/samples/web/material_3_demo/#/
4) Try web flutter gallery to see numerous app samples (more complex) and widgets
https://gallery.flutter.dev/#/
again even better to download mobile or desktop version that there is in app store:
play store: https://play.google.com/store/apps/details?id=io.flutter.dem...
macos dmg (.zip): https://github.com/flutter/gallery/releases/latest
I tried both macos flutter gallery and on iOS and surpassingly is pretty good these days and smooth and feel native - even text selection works these days, moving cursor with long press on keyboard space etc. Occasionally was more difficult to dismiss keyboard on iOS and back/next mouse keys or touchpad gestures didn't work on macOS flutter gallery. But overall I'm quite satisfied and surprised comparing how it looked 4 years ago.
-
Just Normal Web Things
I remember the first time when I looked at the Flutter Gallery and was surprised at how things felt just broken in a web browser, for example: https://gallery.flutter.dev (I think it was the Reply example in particular)
Ctrl + click or middle mouse button didn't work on links, right click didn't work, selecting and copying text didn't work, inspect element didn't work (due to how the technology is built), even attempting to zoom the page did nothing.
This article does ring true both because of that experience, as well as some of the SPA implementations I've seen even with more conventional technologies.
-
Tauri vs Flutter
Even when you did that, scrolling was completely wrong. The web simply doesn’t expose primitives from which you can build native-feel scrolling, and the best you can manage on precise touchpads (that is, all laptops now) will normally feel terrible, and lack things like inertia which are rather important. https://gallery.flutter.dev/, for example, scrolls less than half as fast as it should, and lacks inertia. (… and renders text in the wrong font, and doesn’t do links at all where it obviously should, and uses scrollbars that behave all wrong quite apart from being overlay which my native aren’t, and get typing emoji wrong, and… and… seriously, it’s just a litany of awfulness.)
-
Flutter Web: A Fractal of Bad Design
Oh wow. I had thought the claim that they were not producing any semantic web elements was almost certainly exaggerated. That said, for the number of things that are on https://gallery.flutter.dev/#/reply, there are a surprisingly low number of elements. Wow.
-
Clippy goes full cross-platform thanks to Avalonia UI framework
example: https://gallery.flutter.dev (and Flutter Gallery on the playstore)
-
Flutter 4.0?
https://gallery.flutter.dev/ - 14.83 MB / 4.70 MB transferred
-
Learning Flutter: by example, by exercising, FULL TUTORIALS. Where Can I find that?
gallery.flutter.dev,
huh? it's here https://github.com/flutter/gallery
What are some alternatives?
makepad - Makepad is a creative software development platform for Rust that compiles to wasm/webGL, osx/metal, windows/dx11 linux/opengl
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
ClojureDart - Clojure dialect for Flutter and Dart
sdk - The Dart SDK, including the VM, dart2js, core libraries, and more.
freezed - Code generation for immutable classes that has a simple syntax/API without compromising on the features.
quicktype - Generate types and converters from JSON, Schema, and GraphQL
conduit - Dart HTTP server framework for building REST APIs. Includes PostgreSQL ORM and OAuth2 provider.
serverpod - Serverpod is a next-generation app and web server, explicitly built for the Flutter and Dart ecosystem.
awesome-flutter - An awesome list that curates the best Flutter libraries, tools, tutorials, articles and more.