dart_style
pub-dev
Our great sponsors
dart_style | pub-dev | |
---|---|---|
14 | 357 | |
629 | 762 | |
1.0% | 1.2% | |
9.2 | 9.7 | |
12 days ago | 7 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.
dart_style
-
Why is Prettier rock solid?
> Oh I'm curious why you're rewriting it?
The primary driver is that we're moving to a fairly different formatting style: https://github.com/dart-lang/dart_style/issues/1253
The formatter works sort of like a compiler in that it parses the code, translates it to an internal representation, does optimization on that IR, and then outputs final code. The main difference is that the "final code" is also source code, and the "optimization" is line splitting.
The old IR grew organically over time and got increasingly difficult to work with. It baked certain formatting choices directly into the IR (mainly indentation) which line splitting then had no control over. For example, given a function call like:
someLongFunctionName(some + long + argument + expression, [firstElement, anotherElement, aThirdElement]);
-
The Record type is coming to Dart/Flutter!
in your analysis_options.yaml. The formatter doesn't understand the new syntax yet, though.
-
Linter actually that important for a lot of minor things?
Sorry, perhaps im not quite familiar with the GitHub issues you’re chatting about, but a quick search shows the Dart team actually made a very similar argument about laptops and diffs as the first reply in a thread about the 80 character max: https://github.com/dart-lang/dart_style/issues/833
-
What is the best flutter formatter?
Nope, but there is a proposal to set line length in pubspec.yaml: https://github.com/dart-lang/dart_style/issues/918
- Imagine that someone passed a law—literally a criminal offense—if you formatted your code longer than 80 columns. You were forced to comply. Do you honestly believe that your engineering productivity or overall quality of life as a human on Earth would be measurably negatively impacted?
-
Custom Formatting in VS Code
The standard Dart extension only supports formatting using the SDK-supplied formatter (dart_style) which (by design) is not configurable (although it can be turned on/off with the dart.enableSdkFormatter setting).
-
10 Best Visual Studio Code Extensions for Flutter Development
Flutter itself provides formatting choices, however, it only formats Dart files and it doesn’t re-order the code. Flutter formats the code based on these formatting rules.
- Flutter’s take on the 2-space indent code style
-
Anyone else seeing dartfmt hanging VSCode lately?
There are some other possibilities - such as complex code being slow to format (for example I hit https://github.com/dart-lang/dart_style/issues/1022 and originally thought it was a repro for this issue), or that the server is busy doing its initial synchronous scan of the workspace, though those should be temporary and the format should eventually complete so it's probably not what most people are reporting here.
pub-dev
- Desenvolvendo um widget de upload com Flutter 🩵
-
Build a Video Chat App with ConnectyCube Flutter SDK
where x.x.x is a latest version of the connectycube_sdk on pub.dev repository.
-
10 Useful websites for flutter developers!
Link: pub.dev
-
Are referenced packages compiled ?
I was trying to find out if a package that we create internally or pull from pub.dev is compiled and just added into the app or compiled and optimized when consumed by the app ?
-
Is it safe?
I've never actually submitted anything to pub.dev and I'm not even sure what's involved.
-
Flet is "The fastest way to build Flutter apps in Python" - it's not :(
Flutter is known for its reach ecosystem and availability of many high-quality libraries. There're over 38000 packages at pub.dev and none of those e are available to build UI in Flet.
-
How would one go about implementing this into a FlutterFlow project?
I checked on pub.dev just in case, and it appears that you can do some interop with js already. So try this instead.
-
Searching for the right tool for a text editing desktop app.
So, does Flutter provides what I need? Some functionalitty for checking word spelling with different languages would be really nice too. I found some HTMLs editors on the pub.dev. Some seems very nice, but I don't know about the red squiggle and that's important for me. I am no pro programmer, so it would be hard to me to implement this by myself. I'm looking at Qt as well, but the licensing seems a bit restrictive.
-
Get notified when your pub dependancies have been updated
There is a lot of clicking around and typing to get info on updates to pub.dev dependancies you use in your flutter apps, so I built a flutter webapp to make it easier
-
So, I published my first Flutter game. Here is a brief retrospective for myself and newbies like me.
Flutter is quite mature and handy, but the libraries sometimes are not as cool as advertised on pub.dev. Be careful while adding them, and PLEASE never add more than one library to pubspec at once. You'll regret it, I promise :)
What are some alternatives?
dart-code-metrics - Software analytics tool that helps developers analyse and improve software quality.
serverpod - Serverpod is a next-generation app and web server, explicitly built for the Flutter and Dart ecosystem.
Dart-Code - Dart and Flutter support for VS Code
Flutter-HTML-Editor - A lightweight HTML-Richtext editor for Flutter
flutter-examples - This repository contains the Syncfusion Flutter UI widgets examples and the guide to use them.
awesome-kotlin - A curated list of awesome Kotlin related stuff Inspired by awesome-java.
markdownlint - A Node.js style checker and lint tool for Markdown/CommonMark files.
sdk - The Dart SDK, including the VM, dart2js, core libraries, and more.
get_it - Get It - Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App. Maintainer: @escamoteur
fpdart - Functional programming in Dart and Flutter. All the main functional programming types and patterns fully documented, tested, and with examples.
Free-RASP-Community - SDK providing app protection and threat monitoring for mobile devices, available for Flutter, Cordova, Android and iOS.