I wanted to delete singleton class when i need Could you please tell me is it possible to dispose or remove singleton class from memory instance after use
I want set value of bool v from SharedPreferences in flutter but getting LateInitializationError. here's my code: import 'package:agl_mdd/home/home.dart'; impor
Is it possible to copy HTML and paste it into Gmail or Apple Mail? Sample HTML: <img src="w3schools.jpg" alt="W3Schools.com" width="104" height="142"> I'
I'm currently facing this problem with flutter (dart): var data = { "U": "উ", "UU": "ঊ", } UU's value never get printed it print U's value twice
I am a new Flutter developer trying to figure out how to send my form data into SQLite as an instance of a simple class I set up. I am trying to create a new us
I have the google_maps_flutter 2.1.0 and flutter 2.10.3 running. While opening the map, the app crashes and shows the following error log. Could anyone point ou
I am stuck in trying to achieve a text field with prefix Icon. I want the text field and prefixIcon to be center-aligned and should expand while typing. Any hel
THIS IS MY CODE this is the app for storing data into google spreadsheets. // showing red line under plus OPERATOR '+' in LINE import 'dart:convert' as convert;
I am creating PDF document using dart-pdf. It contains various sections that could be any number of pages in length. Each section starts on a new page. Currentl
How to make fixedLengthList in class model using @freezed? @freezed class Example with _$Example { factory Example({ List<int> example, // this list
I found a flutter sqfl example on the web and trying to modify it for my personal project. I need more than one table in a database, so I want to be able to cre
I am developing a Flutter Module, multiple Flutter Plugins. The relationship between them is: module depends on all plugins. All plugins are not published to pu
[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: LateInitializationError: Field 'isDayTime' has not been initialized. E/flutter ( 5534): #0
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:63:33: Error: The getter 'addressOf' isn't defined for the class 'Utf8'. 'Utf
Say I have a string "1974-03-20 00:00:00.000" It is created using DateTime.now(), how do I convert the string back to a DateTime object?
I want to change title in appBar, when when I switch from one tab to another. In my current code do not do that because on change tab build is not called. Thank
Is there a way to detect and avoid notches in a phone's screen (for example, the camera notch in an iPhone X), but ignore a screen's rounded corners? For exampl
I am using bloc library available in Dart to implement "bloc" pattern. I will eventually move onto flutter_bloc library so I can use it inside a real app. I'm h
I'm using Semantics to adapt my app for accessibility and want to read a phone number (like: Text("950874123")) one to one instead "million, thousand...". Is th
I've provide the code. So the dragable widget is in the drawer and the drag target is in the home screen. But when I drag the container to put it in the drag ta