I created a service folder and made a file in it called request. dart, here I intend to place all requests I make into a class called AuthService, with the logi
In my project I've wrapped the whole MaterialApp in a GestureDetector which is supposed to dismiss keyboard when user tapped the screen, using this piece of cod
I had built an application and I'm trying to show feature discovery but, It is not showing discovery. Also not showing any error. Question I Referred To Solve I
I'm a big fan of VS Code and i'm just learning to code. But when using dart language, there is a line in the middle of my screen the-line!!!. I don't have this
Container( width: 200.0, height: 200.0, child: Container( width: 50.0, height: 50.0, decoration: BoxDecoration( shape: BoxShape.circle,
suddenly i cant fetch data inside of the firestore database. tried to change google-services.json and still did't fetch data from firestore. and i tried to disc
I added two ListWheelScrollView to show the value first for numbers(1-9) and second for string values like an hour, day, week, and month but focus item design d
I have following time series in charts_flutter: charts.Series<DatumPoint, DateTime>( id: 'Series', colorFn: (_, __) => charts.Material
what's the equivalent fileoutputstream of java in dart? Java code file = new FileOutputStream(logFile, true); byte[] input = "String".getBytes(); file.write(inp
I wanted to capture the image and display a preview screen showing the captured image. It worked fine before, but once I added object detection, I receive a gro
I am trying to redirect user to specific page in flutter web on click of notification, till now I am receiving notification, the last open page is displayed in
When trying to declare CardView class in my Flutter application, I get the error The default constructor is already defined. import 'package:flutter/material.da
Launching lib\main.dart on HTC One M9PLUS in debug mode... Initializing gradle... Resolving dependencies... Gradle task 'assembleDebug'... registerResGenerating
Suppose you have a few nested InkResponse, if you tap on the inner one, all of the parent will actually trigger the splash effect even though they will loose in
void createUser(String email, String password) async { try { await _auth .createUserWithEmailAndPassword(email: email, password: password)
I need to change the ScrollPhysics for almost every scrollable widget in an app to BouncingScrollPhysics(). I have tried to find a way to do this without adding
I am sending a post request in Dart. It is giving a response when I test it on API testing tools such as Postman. But when I run the app. It gives me the follow
I'm a flutter beginner and I'm currently working on an app that let me take a photo and then update a ListView to display the photo with a little text descripti
I trying to retrieving the data in Firebase with StreamBuilder but it appear this error. Does anyone know how to solve this? Appreciate so much for the help. Th
I have a device that provides temperature data in ieee754 half-precision float format, i.e. [78, 100] = +25.5C. Now, Dart/Flutter doesn't support HP-Float conv