Click here to Skip to main content
15,878,959 members
Everything / Programming Languages / Dart

Dart

Dart

Great Reads

by Manish Dubeyy
How to debug the design time errors in WPF XAML file?
by Meshack Musundi
Implementing the MVVM pattern in Flutter using ScopedModel
by ThatsAlok
This is getting started beginner tutorial in DART 2, I would be touching Basic setup, Datatypes, Conditional Statements and Loops.
by ThatsAlok
In this second article of series, I would be focusing completely on List working

Latest Articles

by Meshack Musundi
Implementing the MVVM pattern in Flutter using ScopedModel
by ThatsAlok
Object Oriented Programming in DART
by ThatsAlok
Let's explore Flutter Grid view and MediaQuery
by ThatsAlok
Flutter ListView: A scrollable control for everyday need

All Articles

Sort by Score

Dart 

20 Oct 2015 by Manish Dubeyy
How to debug the design time errors in WPF XAML file?
10 Oct 2018 by Meshack Musundi
Implementing the MVVM pattern in Flutter using ScopedModel
9 Jul 2018 by ThatsAlok
This is getting started beginner tutorial in DART 2, I would be touching Basic setup, Datatypes, Conditional Statements and Loops.
9 Jul 2018 by ThatsAlok
In this second article of series, I would be focusing completely on List working
9 Jul 2018 by ThatsAlok
Let's explore the world of StateFulWidget with respect to Flutter
14 Jul 2018 by ThatsAlok
Map class denotes a key and value container. I will showcase its various methods and properties.
18 Jul 2018 by ThatsAlok
Flutter ListView: A scrollable control for everyday need
21 Jul 2018 by ThatsAlok
Let's explore Flutter Grid view and MediaQuery
28 Jan 2024 by M Imran Ansari
Unfortunately, you can’t write if statement directly inside your widget properties as if you were writing in your method or function. But there are a few ways you can write a conditional statement inside your widget. You can use the ternary...
3 Mar 2024 by M-Badger
The issue with your code is that you're trying to assign a value to value1A directly in the class body of B. In Dart, you can’t assign values to inherited variables directly in the class body. You should do this inside a method or constructor. ...
12 Jul 2018 by ThatsAlok
Flutter Navigation, Let's move among pages
31 Jul 2018 by ThatsAlok
Object Oriented Programming in DART
3 Jul 2020 by F-ES Sitecore
Not using that package, no. It's a bad idea anyway, it will annoy users if you try and override their preferences.
24 Mar 2021 by Richard MacCutchan
If you are lost with Dart & Flutter, then maybe you need to start with something simpler. Try to get hold of a book on Python or C to get the fundamental ideas. Once you understand the concepts at the beginner level you can move on to the more...
24 Mar 2021 by OriginalGriff
You can't really separate "algorithms" from "coding", because they rely to a large extent on each other. In fact, there is a famous book about it: Algorithms Plus Data Structures Equals Programs (Prentice-Hall series in automatic computation):...
24 Mar 2021 by Patrice T
You have to know that you can do pretty much anything in any language, simply some languages are harder for beginners because there is more pitfalls to handle. You need to master a set of techniques that are the basis of the job and are not...
10 Aug 2022 by wseng
Something wrong on this line. child: Image1.file(File(image1.path)), child suppose return Widget, not Image1.file What is Image1 exactly? Is it the class created by you or it's an library?
21 Jan 2024 by Richard MacCutchan
Se https://stackoverflow.com/questions/77663954/flutter-failed-to-extract-native-libraries-res-18[^]
30 Jan 2014 by Hard Coder
Has Dart (dartlang.org) got any future as a way of builing web applications?
17 Oct 2018 by Rajesh aptil
I am working on one Paint application wherein I am implementing BucketFill functionality similar to MS paint application. I have Coded it Using a couple of FloodFill Algorithms but the Filling Color Process is taking too much Time ...I am not pretty sure reasons behind it may happen due to the...
3 Feb 2021 by SuperMiQi
Hello Everyone, I would like to retrieve from my flutter/dart project, the current system lqnguage code, like. fr, en, ... What I have tried: I have tried the following: Locale myLocale = Localizations.localeOf(context); String lc = currentLanguageCode(myLocale); print ("Language code:...
24 Jan 2022 by JamesPiner
Trying to sort my list of cards by the latitude and longitude I have set as fields in Firestore to the user's location in Flutter (by their latitude and longitude). Does anyone know how to do this? My code below in the sort function only reversed...
26 May 2020 by Member 14845028
I am building a flutter auction application, I am stuck at the countdown time of an auction product so I use firebase realtime database. I have to make sure all users see the countdown at the same time. Please help me whether it's just a keyword...
22 Jun 2020 by Member 14869963
I am new to flutter and in my below code there is read data function is called at line 18(it performs Firebase Database operations) I want that the readData() function must complete its execution before going to the print statement(line 19) and...
22 Jun 2020 by Richard MacCutchan
Future readData() async { You have declared readData as an async activity, which means the the caller will not wait for it to finish. Remove the async keyword so that it runs synchronously.
4 Feb 2021 by Member 15063457
use didChangeDependencies method,the method is called after the initState is called and it gives you access to the context. Your code will look like this @override void didChangeDependencies() { Locale myLocale =...
10 Mar 2021 by Richard MacCutchan
Same answer as your previous question: What cross platform framework to use to build a children's educational app for mobile?[^]. Unless you have some programming skills you are unlikely to make any progress. The first thing you need to do is to...
24 Mar 2021 by Fix eg
i want to know what should i learn to be a real programmer. not just some one who made bad apps with mess code . what i need to learn before coding do i need to learn algorithms first or i need to learn coding with algorithms in the same time. ...
26 Mar 2021 by Fynn Pfingsten
Hello, how to impenting detail layout in Flutter? I have build code which looks like this: import 'package:flutter/material.dart'; import 'package:flutter_slidable/flutter_slidable.dart'; void main() => runApp(MyApp()); class MyApp extends...
27 Mar 2021 by Salma Mohamed 2021
I am trying to run the default Flutter program and I get the following error. FAILURE: Build failed with an exception. * What went wrong: Unable to start the daemon process. This problem might be caused by incorrect configuration of the...
3 May 2021 by Md. Mubin
I am writing an application in Flutter. Is there any way to use/import Okular's document view functionality as a widget? If yes, how? Okular - The Universal PDF Reader[^] What I have tried: I have no idea to start. I have searched Google for...
8 May 2021 by Md. Mubin
I am trying to call a native C function from Dart. I have made my C files, CMakeLists.txt and required Dart file. but when I run my code it shows: Execution failed for task ':flutter_plugin3:generateJsonModelDebug'. >...
11 May 2021 by Md. Mubin
Is it possible to create dart wrapper for MuPdf? If yes, how? Thanks in advance. What I have tried: I am a beginner in Flutter and Dart. I have no idea to start with.
11 May 2021 by Richard MacCutchan
See Flutter - Beautiful native apps in record time[^]
8 Jun 2021 by Asif Rehman
Db db = new Db("mongodb://localhost:27017/whatever"); In C# I can connect using mongodb+srv://:@cluster0.k6lme.mongodb.net/myFirstDatabase?retryWrites=true&w=majority But in flutter mongo_dart package. Connection string ...
18 Jun 2021 by CSAAT ADMIN
i have saved bunch of emojis as images locally, i want replace a specific text on the message as this emoji image. What I have tried: var replaced = text.replaceAll(regExp, '*'); Instead of the asterisk mark can we replace this with actual...
18 Jun 2021 by Richard MacCutchan
Yes, but only if the emoji is represented by a UTF sequence.