Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
17 views

sensors_plus on iOS doesn't listen the event or throw an error

Im using sensors_plus 6.1.1 for both android and ios, on Android all is good but on iOS it doesnt work the listener just doesn't listen the event and it also doesnt has any error class ...
CCP's user avatar
  • 1,246
0 votes
0 answers
19 views

Flutter TFLite Model Predictions Wrong Despite Matching Python Preprocessing (Works in Python)

I'm struggling with a Flutter + TFLite integration. I have a trained TFLite model (EMNIST-like for handwritten letters), and it works perfectly when I test it in Python — but in Flutter, the ...
ChinoQT's user avatar
  • 58
2 votes
2 answers
56 views

How can I display a currency/unit symbol as a superscript at the top-left of my digits in Flutter?

I’m learning Flutter and trying to recreate the layout shown in the attached image, where the symbol “€” appears as a superscript positioned above and to the left of the numeric value. enter image ...
Lelouch D Dragneel's user avatar
0 votes
0 answers
26 views

How can I prevent the ‘null’ value from being assigned to a non-nullable variable in Dart? [closed]

How can I prevent the ‘null’ value from being assigned to a non-nullable variable in Dart? My code is void main() { int? number = null; // Nullable variable // Using a null check to handle the ...
Hind27's user avatar
  • 41
1 vote
3 answers
67 views

Wrap versus Column in Flutter

Interestingly, if I have to make a list of details with these widgets: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Text('some label'), Text('some value'), ],...
DevQt's user avatar
  • 1,098
0 votes
3 answers
57 views

Using `watch_it` within `showDialog` builder

I'm using watch_it in my flutter project, and I'm not sure how to access my model from a child view that's presented by a showDialog. Here's some example code: import 'package:flutter/material.dart'; ...
freebie's user avatar
  • 1,977
0 votes
0 answers
36 views

Flutter Radial Gauge restarts after max value instead of clamping or reversing

I'm using the SfRadialGauge widget in Flutter to allow users to select a loan amount by dragging a pointer. The gauge has a maximum value of 10,00,000. However, I'm facing an issue where if I drag ...
Vedant Kohli's user avatar
1 vote
0 answers
46 views

Bring to Front seletec panels

I am trying to implement a bring to front when clicked over a panel. Is just a for study case. So we have cards, one just a little over other. Like this sample image. We want to select for instance, ...
Alexandre B.'s user avatar
1 vote
1 answer
34 views

separating line is not displayed

I have created a widget. This is a card. The entire card is arranged in a column. In this card, two icons (Delete and Check) are to be placed in a row. Subsequently, a SizedBox should act as a ...
Pauer Auer's user avatar
1 vote
1 answer
50 views

How to navigate to first/default route of GoRouter StatefulShellBranch

I'm using a StatefulShellRoute with StatefulShellBranches as in the code below. I would like to achieve the following: when I am inside a route in a StatefulShellBranch I want to navigate to the first/...
kurtmarcink's user avatar
1 vote
1 answer
40 views

NotInitializedError was thrown building MyApp(dirty) in my Flutter app [closed]

I need help debugging this as ivm going crazy. Flutter app on vscode. This is my current code: import 'package:flutter/material.dart'; import 'package:firebase_core/firebase_core.dart'; import '...
M.Shaher's user avatar
1 vote
3 answers
78 views

Flutter connectivity_plus not updating GetX observable on WiFi toggle

I'm using Flutter with connectivity_plus and GetX to manage internet connectivity globally across my app. The issue is: When I toggle WiFi on/off, the .isConnected observable in my ...
arslan's user avatar
  • 43
3 votes
1 answer
86 views

dart:html is deprecated and shouldn't be used

I'm getting the suggestion to replicate the dart:html code with package:web and dart:js_interop after upgrading the flutter. Here is my code for downloading an asset, where I used dart:html. import '...
Ashikul Islam Sawan's user avatar
0 votes
0 answers
38 views

How to build an Isolate manager in Dart that handles task priority? [closed]

I want to create a system in Dart with a fixed number of Isolates that can handle tasks based on their priority (high, medium, low). • Tasks should be executed based on their priority. • I want to ...
Weak Alharbi's user avatar
2 votes
2 answers
46 views

In dart/flutter, what's the best way for a wrapper to have the same default values for (some of) its parameters as its child?

Mainly facing this in wrapper widgets that pass through parameters to the widget that they wrap. The child declares default values, but for the wrapper to also have the same default values I end up ...
Lojcs's user avatar
  • 67

15 30 50 per page
1
2 3 4 5
6334