#dart 3.10 · 5 posts
With the release of Flutter 3.10, there are many new exciting features. One of them is the new `SearchBar` widget, which makes it easier to add a fully functional and customizable search bar in your Flutter apps. Here, I'm going to walk you through how to use it.
In this post we're going to see the interface keyword and it's new vs old approach comparison.
Dart 3.10 introduced a new keyword `base` as part of its language enhancements.
Dart 3.10 introduces a significant keyword for classes - `final`.
In Dart, the `switch` statement is a control flow statement that lets a variable be tested for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each case.