皇冠hg0088代理网址

Questions tagged [dart]

Dart is a class-based, statically(& strongly)-typed programming language for building web and mobile applications. Dart compiles to modern JavaScript to run in the browser and compiles to native code to run on mobile platforms like Android and iOS. Dart also runs on the command-line for scripting and server-side apps.

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

setState() or markNeedsBuild() called during build during timers execution - Proper State Management help needed

Greeting, I'm a novice to app dev and started with flutter. I am wanting to input and display a list of tasks and durationsin seconds from user, and then execute animated timer with duration values of ...
0
votes
0answers
6 views

how to get Text or Number of position over page indicators dot in flutter

I want position number of dot indicator over it. I am using smooth_page_indicator Plugin for page indicator. there are several ways to add indicator but couldn't find how to add text over dot ...
0
votes
0answers
5 views

Make a sign in functionality using Riverpod Flutter

I am new to river_pod and I won't lie if I said that the documentaion is only for super-senior-engineers Anyways, I want to implement a sign in feature using this package The logic behind it is simple:...
0
votes
1answer
16 views

No “Remove Widget” or “Replace widget with its children” in Android Studio Flutter

I have the latest plugin version of Flutter v49.0.2 and Android Studio v4.0.1 still, I am missing this feature of removing the widget from the widget tree. Does somebody else is having the same ...
0
votes
1answer
23 views

Is there a better way to make this splash screen layout?

I had been thinking about to how to make this simple layout: The solution that I came up looks like this: import 'package:flutter/material.dart'; class SplashScreen extends StatelessWidget { @...
0
votes
1answer
17 views

I am not sure what getter I need to use to authenticate users in firebase. I am using _firebaseAuth but it gives me an error

This is my code. The error I am receiving is that: You should not use this getter to determine the users current state, instead use [authStateChanges], [idTokenChanges] or [userChanges] to subscribe ...
0
votes
0answers
9 views

Can I launch an URL, with help of an FCM notification in flutter or AndroidAlarmManager at a scheduled time?

In my case I don't want user to tap on the notification. Once the notification arrives at a scheduled time, the app should launch the url. I'm saving the url in Shared Preferences. It it possible to ...
0
votes
0answers
6 views

Connection Xiaomi MiBand 3 with Dart Language (Flutter) #689

Good afternoon, I need to integrate the xiaomi smart bracelet (miband 3) in the Dart language (Flutter), but I am having difficulty, there is very little support material regarding this integration ...
-2
votes
1answer
20 views

How to decode Json in Dart

I have this below store as a update.json file in my server. { "Code": 2, "Msg": "Mullah", "UpdateStatus": 1, "VersionCode": 50, "VersionName&...
0
votes
0answers
9 views

E/flutter (24673): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: RangeError (index): Invalid value: Valid value range is empty: 0

Good morning all, i am getting this error when i click on "Add Place" on my emulator screen I/Choreographer(24673): Skipped 51 frames! The application may be doing too much work on ...
0
votes
0answers
10 views

How to make my app work with local and cloud database?

Hello guys I hope you're all great I am having an issue (well not an issue as I haven't really applied anything to my app. So it goes like this, I have a flutter app that uses Sqlite database (I have ...
0
votes
1answer
14 views

Fade Image.asset when SingleChildScrollView scrolls

I have an image.asset at the top of a Column inside a SingleChildScrollView I'm trying to achieve that when the users scrolls the scrollView, the image will fade out. I've tried to to it using the ...
0
votes
1answer
13 views

Flutter / Dart: onPressed not called when tapping an AppBar widget in Widget Test

my problem is that I have a stateless widget that returns a AppBar with an onPressed event. In my corresponding widgetTest, I tap the component and expect that the onPressed method is called. However, ...
0
votes
2answers
22 views

How to convert the time to minutes of Timer

I have this time that starts when a product is initialized and I want to format it to 00:00 instead of just 0. Timer _timer; _startTimer(prod) { prod.tempo = 0; _timer = Timer.periodic(Duration(...
0
votes
0answers
14 views

Flutter conversion to adobe xd [closed]

I used XD to flutter plugin to convert my design to flutter code, but after I convert it I get this error "Flutter import 'package:adobe_xd/pinned.dart' - Target of URI doesn't exist" even ...

15 30 50 per page
1
2 3 4 5
2554