How to reverse strings that contain surrogate pairs in Dart?

I was playing with algorithms using Dart and as I actually followed TDD, I realized that my code has some limitations. I was trying to reverse strings as part...

Flutter: Cause: null pointer dereference

I'm facing a problem in release mode only, App open &gt; log-in &gt; home (At the home screen it crashed). I've checked by running in profile mode. <a hr...

Is Dart pass by reference?

In this post: <a href="https://stackoverflow.com/questions/58955831/flutter-video-player-dispose/58959097#58959097">Flutter video_player dispose</a> I asked h...

Why does text widget not update when variable inside it changes?

In my code, I want to create a simple counter that is triggered when a button on another page is clicked. I create the counter on the button page and then send it to t...

how to change double value to numbers between 0 and 1

here is my code (READ THE COMMENTS) <pre><code>Widget progressIndecator() { return Countdown( // here I have the number in seconds and he is counting down on ru...

How do I make a subcollection of user data in Firebase?

I'm creating an Hospital App in flutter. My goal is to configure firebase in such a way that the root collection is named User/uid(uid which is automatically generated...

Changing var 1 value also effect var2(assigned to var1)

I have one var with some string values assigning this to other var. <pre><code>var stringList1=[ 'value1', 'value2', 'value3', 'value4', ]; var stringList2...

Filling the whole screen with widgets

<blockquote> Want to have the Row and Column to fill the entire screen but there is a gap between. I suppose that its something with the appbar to do. There were 2 opt...

type null is not subtype of type widget

someone help me plz. i can solve it .please solve this error .why show null is not subtype please solve this error <a href="https://i.stack.imgur.com/JCESQ.png" rel="...

Flutter run a function before the buildcontext with FutureBuilder

The problem I have is that I want to run a function before the buildcontext is rendered. What the function does is read the storage to get the token. The function work...

Flutter Client Subscription to Spring Boot Websocket Server

Below is my Spring Boot Code for scheduling messages to its connected clients. But my FLUTTER application is not able to receive the the pushed messages from the webso...

How to use deferred components in Flutter (with a focus on assets-only components)?

I have a Flutter app having size around 850 MB (AAB). Most of these 850MB are assets- video files (750 MB). The solution to publish it in the Google Play Store is to u...

Vertical viewport was given unbounded height

This is my code: <pre class="lang-dart prettyprint-override"><code>@override Widget build(BuildContext context) { return new Material( color: Colors.deepPurp...

App crashes upon phone authentication after changing package name - Flutter

I wanted to change the package name of my project so I changed the <code>applicationId</code> in <code>build.gradle</code> and in <code>android.xml</code>. I changed p...

Flutter and Distance Matrix API parsing json

I am currently building a flutter app where I want to calculate the distance between some objects and am using the Google Distance Matrix API to do so. I am having tro...