Top "Dart" questions

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

How to use conditional statement within child attribute of a Flutter Widget (Center Widget)

So far whenever I needed to use a conditional statement within a Widget I have done the following (Using Center …

dart flutter
Flutter- wrapping text

I want wrap text as text grows. I searched through and tried wrap with almost everything but still text stays …

dart flutter
How to implement drop down list in flutter?

I have a list of locations that i want to implement as a dropdown list in Flutter. Im pretty new …

drop-down-menu dart flutter
Dart SDK is not configured

I installed Flutter and set up Android Studio. Then I cloned an example of flutter on GitHub (https://github.com/…

android-studio dart flutter
How do I format a date with Dart?

I have an instance of DateTime and I would like to format that to a String. How do I do …

dart
Show/hide widgets in Flutter programmatically

In Android, every single View subclass has a setVisibility() method that allows you modify the visibility of a View object …

flutter dart flutter-layout
Generate SHA-1 for Flutter/React-Native/Android-Native app

I'm trying to generate a SHA-1 for a Flutter app, for Android studio to support Google Sign in, but I …

android react-native flutter dart sha1
How to create number input field in Flutter?

I'm unable to find a way to create an input field in Flutter that would open up a numeric keyboard. …

dart flutter
How do I set the background color of my main screen in Flutter?

I'm learning Flutter, and I'm starting from the very basics. I'm not using MaterialApp. What's a good way to set …

dart flutter
Flutter - Wrap text on overflow, like insert ellipsis or fade

I'm trying to create a line in which center text has a maximum size, and if the text content is …

flutter dart flutter-layout