Uncategorized

Dart Completer() is another type of Future. With a Completer we can create our own Future. If you are dealing with Flutter app and Dart, most of the time you don’t need to create your own Future. Cuz most of… Continue Reading…

Uncategorized

You can use a future to mock network service in dart. You can do below like this

Uncategorized

If you want to return an error with future just use .catchError(e) after then()

Uncategorized

It returns a future when you create an instance of it. So you need to initialize it like below Learn more about it on here

Uncategorized

Dart is programming language developed by Google to run on all the platform which means cross platform.