Category "dart"

Autocomplete not working correctly in Android Studio with Flutter - First suggestions are irrelevant

I installed Flutter and Android Studio. I ran flutter doctor - Flutter doctor I have the Dart plugin installed - v191.8593. When I press Ctrl + Space at a very

How to upload multiple images using Dio and multi_image_picker plugin in Flutter

I want to upload multiple-images using Dio and multi_image_picker plug-in in Flutter. List<Asset> this is the problem because I can't convert from List&l

Dart Unhandled Exception: FormatException: Invalid radix-10 number (at character 1)

I am trying to fetch some Data from the internet. So I made a API Request for a weather website. But I am getting the following exception- Unhandled Exception:

Google sign-in doesn't work after releasing apk from flutter

The app in debug mode was working fine and everything is good. after releasing apk, Google sign-in doesn't work. I tried all the possible solutions, I checked f

How to get a value from a dialog in flutter?

I am creating an app and I want to show a dialog for the user which contains a slider to pick a value. the problem comes here, I want to get the value of that

WebView into SizedBox Flutter

I would like to add a custom webview into a sizedBox in flutter... I've tried to do that but there is an error: code: @override Widget build(BuildContext c

Flutter local notification onSelectNotification can not open a new page when a local notification is clicked

I want my flutter app to open a page when a local notification is clicked. I've defined the following codes in the event listener: Navigator.push( Ccontext,

How to get widget's absolute coordinates on a screen in Flutter?

How to get widget's absolute coordinates on a screen in Flutter? Or its offset in a parent Example: import 'package:flutter/material.dart'; void main() =>

Reference to an enclosing class method cannot be extracted on refactoring

When I want to do "Extract to widget", it raises an error : "reference to an enclosing class method cannot be extracted" I know there is some variables that mu

Graph network visualisation in flutter?

I'm a newbie in flutter. Would anybody have an idea of how to plot a graph network in flutter? An example using d3js is below. I'm interested in a solution t

String xml file in Flutter

In flutter string text are directly set to the TextField widget like: new Text('Hello, How are you?') Is correct way ? or we can maintain all string in one

Change the keyboard type for a TextFormField in a Form

I have a text form that accepts letters and numbers and the keyboard changes dynamically. It's working but when I delete the code, the numeric keyboard remains

Flutter how to display a Custom Clipper when (or inside) using a Custom Scroll View

so here's the deal. I created (sort of) a custom clipper shaped like a wave inside a class called WaveClipper the wave clipper class: class WaveClipper extends

What does client-optimized mean?

Can someone explain what does this phrase mean in this sentence? Dart is a client-optimized programming language for apps on multiple platforms.

Unable to send body parameter in Dart/ Flutter multipart request

I m trying to upload image using Multipart request using Dart/ Flutter. but parameter not getting on serverside. var request = http.MultipartRequest('POST',

Flutter Dart: RegEx to extract URLs from a String

This is my string: window.urlVideo = 'https://node34.vidstreamcdn.com/hls/5d59908aea5aa101a054dec2a1cd3aff/5d59908aea5aa101a054dec2a1cd3aff.playlist.m3u8';

how to reuse previous state fields in flutter bloc pattern?

have the following. using sliding_up_panel that has body with messages and with a different view in panel content that pops up on click action from bottom bar.

Dart Multiple Constructors

Is it really not possible to create multiple constructors for a class in dart? in my Player Class, If I have this constructor Player(String name, int color) {

Flutter Onboarding Screen only one time

i am new to flutter and dart and i am trying to make an app with an onboarding screen with 3 pages and i am trying to skip the onboarding screen when the user h

The argument type 'List<DropdownMenuItem<dynamic>>' can't be assigned to the parameter type 'List<DropdownMenuItem<String>>?

Currently, I am working on a Flutter tutorial which was developed on previous versions. The error occurred once we updated to the latest version of Dart and Flu