linter
flutter-go
Our great sponsors
linter | flutter-go | |
---|---|---|
8 | 1 | |
626 | 23,563 | |
0.3% | 0.1% | |
9.0 | 0.0 | |
6 days ago | 5 months ago | |
Dart | Dart | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
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-go
What are some alternatives?
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]
dartz - Functional programming in Dart
sdk - The Dart SDK, including the VM, dart2js, core libraries, and more.
beamer - A routing package built on top of Router and Navigator's pages API, supporting arbitrary nested navigation, guards and more.
import-lint - The Import Lint package defines import lint rules and report on lints found in Dart code.
esc_pos_printer - ESC/POS (thermal, receipt) printing for Flutter & Dart
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
melos - 🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
irishman - 🇮🇪 A generic programming language interpreter, linter, formatter, and all that jazz, written in Dart.
manim-web - Manim animation engine, for the web
go-flutter - Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.
libusb.dart - Dart wrapper via dart:ffi for https://github.com/libusb/libusb