Questions tagged [flutter]

Use this tag for questions about the Flutter cross-platform UI toolkit. If your question is platform-specific, tag the platform as well (e.g., [android], [ios], etc.). You may also wish to include the [dart] tag for coding questions.

130,976 questions
-1votes
0answers
14views

What does `@sealed` means in Dart/Flutter?

I'm looking at this code: https://github.com/fzyzcjy/flutter_rust_bridge/blob/0debe41af8474487beffce8fc6b181481e7cfff9/frb_example/pure_dart/dart/lib/bridge_generated.dart and it contains these @...
2votes
2answers
18views

Flutter - Texts I put in Wrap do not stand side by side

I have a code like this: AnimatedOpacity( opacity: _usefulInterfaceContent ? 1 : 0, duration: const Duration(milliseconds: 1000), child: Padding( padding: const EdgeInsets.all(7), ...
0votes
0answers
4views

DNS OVER HTTPS In flutter

I used dio in my flutter project . I send a request to some domain in my project that are restrict in my country. So requests are failing . I decide to use dns for solved this problem . I have DNS ...
0votes
0answers
12views

How to catch the purchaseCancelledError from RevenueCat in Flutter

I have a loading spinner that I would like to turn off if the user cancels the purchase using RevenueCat inside of flutter. I have a try catch block that I use to make the purchase but the error block ...
-7votes
0answers
26views

How to make this page using flutter?

How to make this app using flutter, what lines of code I need to make a clone of this app? Thank you in advance
1vote
0answers
13views

Should I use webRTC alongside Socket.IO if I want a live chat ability beside the real-time video streaming?

What I am trying to do is to create a simple virtual classroom project like Adobe connect, but obviously simpler, using Flutter and NodeJS, and I need the following options: Real-time video or only ...
0votes
0answers
16views

Exact edits to pubspec.yaml and AndroidManifest to run pub.dev example? [closed]

Having finally located the pubspec.yaml file (thanks to Stackoverflow), I wish to make the necessary edits to get the Dart example 'snake.dart' game from the sensors_plus tutorial to compile for the ...
0votes
1answer
10views

How can I create a list from a JSON that many parents with different names?

Hello I have a JSON list called "Diseases.json it's formatted like this: { "Hypertensive disease": [ "Pain chest", "Shortness of breath", "Dizziness&...
0votes
0answers
9views

Apple Memo recorder - Container & Elevated button or Container same size, can't do like apple memo recorder view

I am trying to duplicate the Apple memo record interface, but I have an issue with the container. I have tried to use an other container & also elevated button but in both cases, the widget have ...
1vote
1answer
14views

Padding in Autocomplete Text field Flutter

I try to set a padding for the text in an autocomplete field. I did it with a normal Text field like this: TextFormField( decoration: const InputDecoration( border: ...
0votes
0answers
8views

Flutter Shader mask with SVG on page transition

I'm using a shadermask for a page transition: transitionsBuilder: (context, animation, secondaryAnimation, child) => TweenAnimationBuilder( tween: Tween(begin: 0.0, end: 1.0), duration: ...
1vote
1answer
16views

Flutter Hero Animation dismissing keyboard on textfield

I have two screens with different size of text fields. I am trying to make a hero animation for them. I want the end text field to auto focus, but the keyboard get dismissed at the second screen. I ...
1vote
0answers
16views

flutter Bottom Navigation how to return home

As you will see in this code all that I need is to return home the other icons will be single pages so that will be the easy part. When opened you will see Tab 1 click button go to Page 1 now in the ...
1vote
0answers
16views

When are static members evaluated in Dart?

I'm trying to load the api url from my .env file (I'm using the flutter_dotenv package) and store it on a static member apiUrl of an abstract class named Constants. The problem is that apiUrl gets ...
-1votes
1answer
11views

Flutter: Why LinkedHashMap..addAll replaced all old data instead of append

sample list: _events = [{ "name" : "A", "date" : "15 jun" }, { "name" : "B", "date" : "15 jun" }, { "name" : &...

153050per page