Click here to Skip to main content
15,888,461 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 Title

Dart 

29 May 2022 by Kavya Bhargava
Before every video I am getting a black screen which I am not sure why is it appearing. At first I thought it is due to the internet connection or something but that does not seem to be affecting it at all. I am getting video urls from the...
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
14 Jul 2018 by ThatsAlok
Map class denotes a key and value container. I will showcase its various methods and properties.
31 Jul 2018 by ThatsAlok
Object Oriented Programming in DART
24 Apr 2014 by Fredrik Bornander
Implementing a Tetris-like game for the web using Dart
21 Jan 2024 by Richard MacCutchan
Se https://stackoverflow.com/questions/77663954/flutter-failed-to-extract-native-libraries-res-18[^]
20 Jan 2024 by Kavya Bhargava
I am receiving this error: Error: ADB exited with exit code 1 Performing Streamed Install adb: failed to install /Users/XXX/FlutterDev/XXX_app/build/app/outputs/flutter-apk/app-debug.apk: Failure [INSTALL_FAILED_CONTAINER_ERROR: Failed to...
4 Mar 2022 by Kavya Bhargava
I was following a tutorial for Firebase push notifications. I followed all the steps: Connecting app to Firebase, and importing packages (Firebase messaging and Firebase push notifications). I tried sending several notifications, but it did not...
14 Apr 2024 by gacar
I have firebase realtime database. When I manually change data on the Firebase console, vscode stops responding and throws the following error. Error: TypeError: Instance of '_Exception': type '_Exception' is not a subtype of type...
29 Jan 2022 by Kavya Bhargava
I built an image picker after learning in a course. I am not getting any errors in the debug console or in the build. I am trying to click it but it is not working. I made another image picker in a similar manner in same app but that did not gave...
26 Jan 2022 by Member 15514073
My app screen does not change the state of it in real-time while updated in the firebase real-time database .. the earnings screen is updated after the driver ends the trip and collects the fares of the trip then updated total earnings and number...
1 Mar 2024 by Member 14933789
Hey, codeproject wonderful community! I am trying to implement the Chewie Flutter package into my app as a custom widget and I got everything down and made it as customizable as possible. It complies well, but when I run it on the web, android,...
4 Aug 2022 by ROCKSTAR 2022
I am building a history app. When a person has viewed a story, the ID of the user who viewed that story is written to that story's database in the Readers collection. There is also a list with all the stories. And I want to sort these stories by...
4 Aug 2022 by OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
4 Jul 2018 by ThatsAlok
In this tutorial, I will provide step by step to build your first Flutter App
9 Jul 2018 by ThatsAlok
Let's explore the world of StateFulWidget with respect to Flutter
12 Jul 2018 by ThatsAlok
Flutter Navigation, Let's move among pages
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
19 Oct 2021 by Ghali Skalli
I'm making an movie lister app. I made my app like that: 1. The main.dart who run the project and contain all Tmdb (The Movie DataBase) process 2. The root_page.dart who contain all the "immovable" elements (app bar, bottom navigation bar, page...
8 Mar 2023 by Richard MacCutchan
This is the same issue as your previous question at Type 'null' is not a subtype of type 'string' while trying to retrieve data from list into listview[^]. You need to look at the code at ... var custUsernameGet = await...
8 Mar 2023 by Dan Sep2022
I have a function that will retrieve username from database and that username value will be stored in global string variable, everything works, and my goal is to display that username variable on the AppBar text but I keeps getting "Null is not a...
14 Feb 2023 by Dan Sep2022
I have this StatefulWidget that supposed to retrieve data from MySQL database based on condition and add those retrieved values into an array so I can use the array values to be display on ListView. My Problem is that sometimes when the array...
22 Dec 2021 by Member 10907325
Hello i am loading json from local assets file and show in listview in my flutter app anyone know how to implement searchbar here is my code body: Container( child: Center( // Use future builder and...
22 Dec 2021 by Richard MacCutchan
Quote: i tried to search on google but no result found What did you search for? Look at this: flutter search bar example - Google Search[^].
23 Mar 2022 by Fazaamajd Fazaa
i have three types of user in my application (nurse,substitute, patient), every type will have access to specific home page. every type of user have his homepage and his specific features. so i want to implement some logic in my code to resolve...
9 Jul 2022 by Mathis 2022
Conceptionally I would make a LoadingWidget where you execute the async Function to get the bool is. Then in the async Function: if (is) Navigator.push(MaterialPageRoute...); else if (is)...
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...
4 Apr 2014 by Fredrik Bornander
How to implement a simple HTML5 game using Dart.
9 May 2022 by Kavya Bhargava
I am using a video player to play the videos I get from my streambuilder. I am unable to place my dispose function in such a way that I don't get this error. Error is causing the emulator to crash after certain point. My screen where I am...
15 Mar 2023 by Alva Rizky
On this code, i try to create Delete features, which is can delete history/data that already added. Here's the code : menuOption(String value, History history) async { if (value == 'update') { Get.to(() => UpdateHistoryPage( ...
15 Mar 2023 by OriginalGriff
Thee error message is pretty explicit: the function returns a nullable value - bool? - and you are trying to store it in a non-nullable type - bool; the types are not the same. The simplest solutions are to change the type of yes to bool?, or...
24 Nov 2023 by Trần Toàn from Hanoi
I am encountering difficulties with my Duende Identity Server implementation. The server successfully provides tokens to a WPF Desktop client, but I'm facing issues when trying to obtain an access token from the server using a mobile app. I...
24 Nov 2023 by Graeme_Grant
For Identity, cookies are okay for non-mobile applications. For mobile, you will need to use Bearer tokens.
3 Mar 2024 by gacar
Hello, I want set a value of extended class. How can i do it? Thanks. class A { String? value1A; A({ this.value1A, }); } class B extends A { String value1B = ""; value1A= ""; //
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. ...
24 Jun 2021 by Rabia Başıbüyük
How can I pull data from a Flutter Firebase real-time database in the form of a list?can you help me please? What I have tried: I tried FutureBuilder to extract data from flutter firebase realtime database in the form of a list, but it gave an...
24 Jun 2021 by Richard MacCutchan
See Add Firebase to your Flutter app[^]
9 Mar 2024 by gacar
I want use a google fonts icon. I have Code point (e88e, info icon). But i cannot get right icon. How can i get icon from google icons by Code point? Thanks. This is icon link: Material Symbols and Icons - Google Fonts[^] import...
10 Mar 2024 by Andre Oosthuizen
Quote: Thanks for your response. I asked this question in more detail on stackoverflow. Unfortunately I will not be visiting StackOverflow to view your question, I doubt i if anyone else would. Please give full detail here by using the Improve...
16 Mar 2022 by Mohamed Reda 2022
.................................
16 Mar 2022 by OriginalGriff
Quote: What I have tried: Nothing While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades...
16 Mar 2022 by Patrice T
Quote: Nothing Time to kick your brain, all things do not comes all cooked. The job of programming is also CREATING SOLUTIONS. For the barcode, you have to ask yourself some questions and answer them. The answers will tell you what to do. 'Why a...
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'. >...
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...
14 Feb 2024 by gacar
Hello, I'm new to Flutter/Dart. When I take an instance of a class and try to use a method in it, I getting below error.How can i use method from instance class with new class name? Thanks. "The instance member 'newData' can't be accessed in an...
14 Feb 2024 by gacar
I found solution on flutter/dart discord channel. I should have marked the method of the new class as "late". I marked late then working now. class Data { String read() { return ""; } } class Data2 { var newData= Data(); //...
28 Jan 2024 by gacar
I want to use if condition in the icon widget, but Dart gives an error. How should it be used correctly? Thanks. class Cell extends StatelessWidget { const Cell({super.key, this.caseTrend = false}); final bool caseTrend; @override ...
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...
26 Dec 2021 by Rafia Chowdhury
This is the instruction provided by them for a website: Include JavaScript 1. Start eye tracking GazeCloudAPI.StartEyeTracking() ; 2. Define your...
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 ...
20 Oct 2015 by Manish Dubeyy
How to debug the design time errors in WPF XAML file?
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...