Top "Dart" questions

Dart is a class-based, statically(& strongly)-typed programming language for building web and mobile applications.

How do I open a web browser (URL) from my Flutter code?

I am building a Flutter app, and I'd like to open a URL into a web browser or browser window (…

flutter dart url browser webbrowser-control
How to get a height of a Widget?

I don't understand how LayoutBuilder is used to get the height of a Widget. I need to display the list …

flutter dart layout widget flutter-widget
How do you detect the host platform from Dart code?

For UI that should differ slightly on iOS and Android, i.e. on different platforms, there must be a way …

dart flutter
How to check the installed version of Flutter?

How do I find the version of Flutter I have installed on my computer?

flutter dart version flutter-sdk
Validate email address in Dart?

According to RegExp documentation, we must use JavaScript (Perl 5) regular expressions : ECMA Specification. What pattern do you use for email …

regex email dart email-validation
Flutter/Dart - Open a view after a delay

I'm trying to find a solution to open a view after a delay in a loading view. I have a …

flutter dart flutter-layout delay flutter-widget
How to add clear button to TextField Widget

Is there a proper way to add a clear button to the TextField? Just like this picture from Material design …

flutter dart
Flutter, render widget after async call

I would like to render a widget that needs an HTTP call to gather some data. Got the following code (…

async-await dart flutter
Enumerate or map through a list with index and value in Dart

In dart there any equivalent to the common: enumerate(List) -> Iterator((index, value) => f) or List.enumerate() …

dart flutter
Flutter - setState not updating inner Stateful Widget

Basically I am trying to make an app whose content will be updated with an async function that takes information …

android dart flutter dart-async