I want to test a method that is responsible for a button tap (let's call it onButtonTap()), one of the first methods is a call to static method from utils file,
I am working on an app that should manage downloaded files. For now I am able to download a file on both platforms, but I would need to know how can I get the d
How can I test a Timer inside a Bloc, using blocTest? I’m using the bloc library, with freezed to build the state and event objects (might not matter here
How to fix this all const warning in VSCode? It's hard if I fix one by one.
I am using Flutter to build a Web-App and I want to use the internationalization feature of flutter on my new app. I was following the Flutter-Tutorial and I tr
I created a separate Stateless widget called CustomAppBar will certain parameters. Every I need appBar in my app. I will use CustomAppBar and give required para
List<ServiceModel> serviceList = [ ServiceModel(id: "12", name: "Repair", subServiceList: [ SubServiceModel(name: "Toilet Repair", id: "123"),
I created my database with this function: void CreateDatabase() async { database = await openDatabase( 'todo.db', version: 1, onCrea
How to do file operations (create/write/update/delete files) using the Flutter "saf" Package. link:- pub.dev/packages/saf I didn't find any solutions on Google.
I grabbed somewhere the following code to convert a picture to a base64 string without accessing a file : String ImageToString(Image image) { String result;
I tried to use physics: NeverScrollableScrollPhysics() in NestedScrollView but still yet is still scrolling. How can disable scrolling in NestedScrollView if th
I have a TextFormField widget wrapped inside a StreamBuilder, in TextFormField widget, inside the decoration, when is pass snapshot.error to the errorText argum
I have a collection called status in Firebase. I'm trying to pull data from here. However I am getting this error. I tried some solutions but I still get the sa
Hello I have a flutter error although i dont have any bugs in code. This is all error: /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/provider-3.2.0/lib
How do I resolve this issue without removing the implicit-dynamic form analysis options file? Error: My Code: Future<void> _scrollToBottomOnKeyboardOpen(
am trying to make a signature for a HTTP request , using flutter/dart for the app and the server in NodeJs but i have a problem there is little different betwee
Hi im new in flutter and i have a class for notify changes of a global values in my app like this import 'package:flutter/material.dart'; class GlobalNotifier
Problem with the time picker not working when I choose the time it should be typed automatically in the field code : https://codeshare.io/WddQvl onTap: () {
I want to use Spinner date picker but I did not find it in flutter packages I found something similar CupertinoDatePicker which works fine. but I can't change
I am implementing a stopwatch (0 to .. seconds counter) in my app. I succesfully implemented it in my Dart code, but I need it to work even if the app is closed