Background I am using Android Studio to create a Flutter web app. The app runs successfully on localhost in Google Chrome. When I deploy it to Firebase hosting,
How do you read text from a file and write text to a file? I've been learning about how to read and write text to and from a file. I found another question abo
I got the problem when I want to fetch Data from PONS API. import 'package:eng_it_translator/model/model.dart'; import 'package:http/http.dart'; import 'dart:co
void main() { Car c1 = new Car('E1001'); } class Car { String engine; Car(String engine) { this.engine = engine; print("The engine is : ${engine}
Wrapping TabBarView with SliverFillRemaining (fill remaining empty space like Expanded) gives the following error output. flutter: A RenderPositionedBox expect
I have a ListView, filled with Firebase collection as chat messages. When the user long press a ListTile (an item on the list), I show a BottomSheet. When the
In Flutter, DropdownButtonFormField's modal list keeps growing to fill some height limit that seems to be ~90% of the screen (or possibly, and more likely, the
I need the flutter dropdownbutton to be expanded much more out of its parent so all dropdown menu items would fit into it. Now I'm using Row > Expanded >
I am trying to create a snackbar on the click of a button in flutter, but getting exception that No ScaffoldMessenger widget found. The same code seems to work
I want to print a message in the console every hour between the times from 9.00 AM to 16.30 PM using flutter.
This is the folder structure of my app .idea .vscode android build fonts Oxygen-Bold.tff Oxygen-Light.tff Oxygen-Regular.tff images pizza0.png pizza1.png i
I have an html file that I am loading in Flutter webview using flutter_webview_plugin. I am using evalJavascript to call function in my javascript code, meaning
I try to build an existing flutter project on a new Mac with M1 chip. I face the following error in regards that the audio_session module is missing. Launching
I have an issue with trying to test Share package. My code looks like this: IconButton( key: Key('share-button'), icon: Icon(Platform.isAndroid ? Icons.shar
I am using Flutters built-in themes like this: return MaterialApp( theme: ThemeData.light().copyWith( primaryColor: const Color(0xFF5E975
I am trying to build for app store. using command flutter build ipa and getting below error. Although the build works (when I run from Android studio)on debug m
A linux build of any flutter application with linux enabled, results in the following error: flutter run -d linux Launching lib/main.dart on Linux in debug mode
When building a flutter app, I get an error stating FAILURE: Build failed with an exception.
Please, consider the below code. A textController is created during initState. If a button is pressed, another textController is created, inside of setState:
The question is how to format a Dart DateTime as a string stating the time elapsed similar to the way you see times displayed on Stack Overflow. Is there any b