Tag: dart
-
Introduction To Null Safety In Dart
What is Dart Null Safety? In basic terms, null safety in dart means that a variable cannot have a ‘null’ value unless it was started with null. All runtime null-dereference problems will now be shown at compile time, thanks to null safety. Dart Null Safety Code Example We constructed a class in the preceding dart […]
-
Working With DateTime in Flutter
In this tutorial we are going to learn how to format DateTime in Flutter. So, without further ado, let’s get started with this tutorial. First and foremost, we require the Intl package. Add this to your pubspec.yaml file, then get the dependency and import it into your dart program. How To Get Current Date In […]