Dart Just Got a Big Update
--
Welcome back! Dart is an awesome programming language that allows us to build out applications with! Guess what!? Dart just ended up getting another major version! This is Dart version 3.0! Let’s take a look at some of the improvements within this new version of Dart!
Improvements To Structured Data
This new version of Dart also brings in some newer updates with data and records, this should make Dart a better language when it comes down to handling structured data!
Sound Null Safety
This new version of Dart actually brings in 100% sound null safety! This will make Dart possibly the first programming language with this type of capability, here’s a chart that the Dart team have posted on their change log as well:
Class Modifiers
This version of Dart also brings class modifiers, this is somewhat of a power-user feature, it will enable API authors to support a specific set of capabilities within a project, here is an example of this feature:
class Vehicle {
String make; String model;
void moveForward(int meters) { … }
}
// Construct.
var myCar = Vehicle(make: 'Ford', model: 'T',);
// Extend.
class Car extends Vehicle {
int passengers;
}
// Implement.
class MockVehicle implements Vehicle {
@override void moveForward …
}
Here is a link to their entire release log:
There you have it! Do you plan on checking out this new version of Dart? I would love to hear your thoughts about this!
Thanks So Much!
Feel free to watch my videos on YouTube or connect via Twitter if you have any thoughts or questions:
Thanks so much for your support!