linter
Flutter
linter | Flutter | |
---|---|---|
8 | 1,203 | |
627 | 161,934 | |
0.2% | 0.5% | |
8.7 | 10.0 | |
1 day ago | 5 days ago | |
Dart | Dart | |
BSD 3-clause "New" or "Revised" License | 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.
linter
-
The Montreal Problem: Why Programming Languages Need a Style Czar
Same with Dart. You may not like the style too much, but at least it's consistent and everyone uses it.
Dart also has a kind of "standard lints" (one for Flutter, one for just Dart): https://dart.dev/tools/linter-rules
Even though you can write your own lints to verify every little detail of the code, the fact that standards exist is great.
Check out the rules enabled by the default lints, it's pretty amazing: https://github.com/dart-lang/lints/blob/main/rules.md
- Dart Error handling using Records (golang style)
- Why shouldn’t Either be used for error handling?
- Is it possible to know all the exceptions a method CAN throw
-
Dart null safety vs type safety (dart linter in strong mode)
It wouldn't hurt to make an issue on the linter repo https://github.com/dart-lang/linter, requesting a lint for casts that are known to be more restrictive than they need to be. So in this case its casting to a `String` but the type of the parameter the expression is passed to is `String?`, which is more restrictive (doesn't include null). There should be enough information to trigger such a lint in many situations - basically as long as there is some known type that the expression needs to be assignable to, in this case `String?`.
-
Thoughts on creating a library with Dart for browser and node
I've already converted 70% of the JS implementation in Dart, only for the browser for test, but the result was not as good as I hoped. The bundle size at the moment is ~110kb (with the -O4 flag). And I happen to learn that using async/await additionally increases the size with ~30kb (this angulardart issue is the only explanation I could found).
- Off my chest: Document the type of exception a method throws in the docs.
-
Is there a linter rule to disallow functional widgets?
I couldn't find anything, so I raised an issue https://github.com/dart-lang/linter/issues/2410
Flutter
-
Show HN: Shorebird 1.0, Flutter Code Push
[3]: https://github.com/flutter/flutter/tree/master/packages/flut...
-
3D and 2D: Testing out my cross-platform graphics engine
Thanks - that link does not appear to be open access, anyways I don't think I've seen it. I'm familiar with Flutter at a high-level (Kevin Moore gave a great talk on it at Wasm I/O), and I think other than requiring users to work in Dart, it is probably one of the most powerful ways to do cross-platform UI today.
Worth noting that their original GPU backend was Skia, and now they are retooling around Flutter GPU (Impeller)[0], which is kind of designed similarly as an abstract rendering interface over platform-specific GPU APIs.
[0]https://github.com/flutter/flutter/wiki/Flutter-GPU
-
Python dev considering Electron vs. Kivy for desktop app UI
If you are considering Electron/React then I would suggest adding Flutter to your list of technologies to consider. It uses Dart (a language similar to C#) and has a lot going for it… relatively quick to get up to speed with, fantastic developer experience (e.g., hot reload, great IDE support, good development tools) and very strong cross-platform support: it generates native iOS, Android, MacOS, Windows and Linux executables. Check it out: https://flutter.dev/
- Lançamento do App Edudu
- Android 12+: Changing wallpaper or dark theme breaks Flutter and Jetpack Apps
- Android 12: Changing wallpaper or dark theme breaks Flutter and Jetpack Compose
-
React Native and Flutter: A Developer's Dilemma
You can find the React Native documentation here and Flutter Documentation here.
-
Ente: Open-Source, E2E Encrypted, Google Photos Alternative
[1]https://github.com/flutter/flutter/issues/55092#issuecomment...
- Reusing state logic is either too verbose or too difficult #51752
-
React Labs: What We've Been Working On – February 2024 – React Compiler
> There is actually a great issue thread on the Flutter GitHub that explains exactly why other solutions do not work correctly when compared to hooks [0]
Interesting. I assume you are referring to this comment in particular -> https://github.com/flutter/flutter/issues/51752#issuecomment... ?
What are some alternatives?
flutter-go - flutter 开发者帮助 APP,包含 flutter 常用 140+ 组件的demo 演示与中文文档
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
dio - A powerful HTTP package for Dart/Flutter, which supports Global settings, Interceptors, FormData, Aborting and canceling a request, Files uploading and downloading, Requests timeout, Custom adapters, etc. [Moved to: https://github.com/cfug/dio]
flet - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
sdk - The Dart SDK, including the VM, dart2js, core libraries, and more.
WPF - WPF is a .NET Core UI framework for building Windows desktop applications.
import-lint - The Import Lint package defines import lint rules and report on lints found in Dart code.
Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
irishman - 🇮🇪 A generic programming language interpreter, linter, formatter, and all that jazz, written in Dart.
kivy - Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
Quasar Framework - Quasar Framework - Build high-performance VueJS user interfaces in record time
svelte-capacitor - Build hybrid mobile apps using Svelte and CapacitorJS with live reloading on Android and iOS!