Dart

168 readers
5 users here now

Dart and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC.

founded 2 years ago
MODERATORS
1
 
 

Highlights

  • Formatter updates with a new "tall" style.
  • Cross compilation to native Linux binaries (including x86_64 and ARM64) from Windows, macOS, and Linux development machines.
  • Null-aware elements let you add elements to a collection such as a list, set, or map, if the elements are not null. To make an element a null-aware element in a collection literal, prepend the element with ?.
  • Doc imports in doc comments.
  • Trending packages on pub.dev.
  • Hot reload on the web (experimental).
  • Direct native interoperability.

Flutter update here: https://kbin.earth/m/[email protected]/t/1358276

2
3
submitted 1 month ago by [email protected] to c/dart
3
 
 

cross-posted from: https://lemm.ee/post/58261438

Hi everyone!

I've just released a new Dart package: isolate_channel. It provides a simple and familiar API for handling communication between Dart isolates, directly inspired by Flutter's MethodChannel and EventChannel APIs used for native plugin communication.

If you've ever found Dart isolate communication cumbersome or unintuitive, isolate_channel streamlines this process, making it feel as straightforward and familiar as working with Flutter plugin channels.

I built this package to prepare for upcoming isolate support in Hive CE, and it made that work a lot easier!

Check it out here: isolate_channel

I'd love your feedback or contributions!

4
5
submitted 3 months ago by [email protected] to c/dart
 
 

Includes:

  • Wildcard variables language feature
  • New formatting style in the Dart formatter
  • Updated quick fixes and new lints in the Dart analyzer
  • Updates for the Dart web platform
  • New productivity features on the pub.dev package site (including package download counts).
5
 
 

After considering the opportunity cost — in particular, the features we could be shipping to the community instead — we’ve made the difficult decision to stop our work on macros.

6
7
submitted 2 years ago by mac to c/dart
7
 
 

cross-posted from: https://lemmy.world/post/7820165

Hi all,

Advent of Code is an annual programming challenge that runs from 1st to 25th December each year where each day a new puzzle is published for you to solve. The puzzles ramp up in difficulty during the month and can test your familiarity with core computer science principles and algorithms.

As the title says, I'm currently going through my entries to last year's challenge and rewriting them to run easily in DartPad. I'll be posting one a day until 25th November to the Advent of Code community, so if you're interested in seeing how they all turn out, please follow the link above and subscribe.

Cheers, Michael

8
9
2
submitted 2 years ago* (last edited 2 years ago) by jpfreely to c/dart
 
 

This is c/dart (!dart?). See also c/flutter.

Edit: there's also https://lemmy.world/c/dartlang