365体育足球滚球比分

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
3 views

I'm getting Error RangeError (index): Invalid value: Not in range 0..428, inclusive: 429 in my drawing app

I'm a beginner using flutter and I try to make a drawing app. I got this error "RangeError (index): Invalid value: Not in range 0..428, inclusive: 429" while i'm drawing line in the app. How ...
0
votes
1answer
31 views

flutter: Expected to find '}'. in if else condition

In GestureDetector in onTap event i have a if condition like this: Positioned( left: 1.0, top: -20.0, child: GestureDetector( onTap: () => { if (widget.status == RemoteStatus.edit) ...
0
votes
1answer
15 views

How to make copy of array's elements in the dart

Getting wired issue like main array has been changed if changed value of another array. I think issue is about copying same address, not sure but just thinking of it. I have tried from last 3 hours ...
0
votes
0answers
12 views

How to cancel a future operation in Flutter?

I'm making an app that uses firebase storage. I want to be able to cancel a scheduled download of a file - an image file for instance - when the user logs out while the said file is still downloading. ...
0
votes
0answers
11 views

Tinder like swipe with two button in flutter

like swipe but with two-button left and right I am using the package: https://pub.dev/packages/flutter_tindercard I want not to drag option I want the button to swipe left or right is there any ...
0
votes
0answers
10 views

Flutter Widget names showing as widget on build apk. But works well on run

I'm seeing the title of the widgets as just "widget" instead of the name on the build apk. But it works well on the instant run from an android studio. What could be the error? I'm ...
0
votes
0answers
10 views

Error: Could not resolve the package 'flutter_spinkit' in 'package:flutter_spinkit/flutter_spinkit.dart'

Compiler message: Error: Could not resolve the package 'flutter_spinkit' in 'package:flutter_spinkit/flutter_spinkit.dart'. lib/screens/authenticate/sign_in.dart:8:8: Error: Not found: 'package:...
0
votes
0answers
26 views

Front end loading quickly without fetching Backend Data in flutter

I am currently working on a fluter project which is building a social media app ... Whose 1 use case is creating a group... I have integrated my app with firebase.. But my group is getting created in ...
0
votes
0answers
10 views

Android native webview in Flutter

I tried implementing a Native java webview, but I couldnt find working documentatiion or tutorials. Can anyone he;p me how to implement a native android webview to an existing Flutter app?
-2
votes
1answer
29 views

Flutter - ImagePicker Issue

import 'package:flutter/material.dart'; import 'login_page.dart'; import 'sign_in.dart'; import 'package:image_picker/image_picker.dart'; import 'package:firebase_ml_vision/firebase_ml_vision.dart'; ...
0
votes
1answer
36 views

How to get swipe direction in Draggable?

Adding this function: onDragEnd: (drag){ if(drag.offset.direction > 1){ print("Swipe left"); } else { print("Swipe right"); ...
3
votes
0answers
23 views

Prevent hero overflowing sibling hero during transition

I'm creating a hero animation using Flutter. I have positioned svg circles inside a card and the circles overflow the card borders and the overflowing parts are hidden when it's not transitioning ...
-3
votes
0answers
23 views

How to make a post similar to facebook or instagram using flutter?

Am new to flutter development, I would like to create a app similar to facebook which can display photos and videos in the same container. I mean if the user has posted a photo, it should display ...
0
votes
1answer
36 views

Column child Container covers full width of parent

I am adding a Container inside Column. I have given Container fixed width 60% of device width and height is 30% of device height. For height it is reflecting good but width covering whole parent. I am ...
0
votes
1answer
20 views

Are the variables inside the parentheses preceding callback functions in Flutter passed as arguments into those callback functions?

In general, and in these examples for clarity, what is the nature of the parentheses and their contents (contents being context in Ex1 and nothing in Ex2)? Ex1. ChangeNotifierProvider( create: (...

15 30 50 per page
1
2 3 4 5
2273