Category "flutter"

How to launch URL in Flutter?

NOTE: I've already searched for ages about this problem & read every similar problem on StackOverflow I'm making Flutter app and I want to launch a URL on

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

How do you uninstall Flutter completely and properly from a Mac?

I need to uninstall Flutter completely from my Mac. However, I cannot find any documentation that can help me with 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() =>

Is there a way to LAUNCH Flutter App on CHROME

I tried launching my flutter app, currently launching on MOBILE for WEB... This is the error I received after restarting following a BLANK WHITE SCREEN; Restart

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

Flutter - how to get current context?

I am using Firebase cloud messaging for notifications, and i want to show a dialog or snackbar once i receive a notification when i am inside the application, m

Flutter doctor: Unable to download dart sdk,BITS service failed in windows

error showing: Downloading the Dart SDK using the BITS service failed, retrying with WebRequest... Invoke-WebRequest : The underlying connection was closed: An

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

DioError [DioErrorType.RESPONSE]: Http status error [405]

I am creating a post request Using Dio, this is my FormData params, FormData formData = FormData.fromMap({ 'wallet_id': '${dropdownValue.walletId}',

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

SharedPreference giving "Unable to establish connection on channel." when used inside flutter_background_service

I'm using flutter_background_service to start a service to fetch data from Cloud. It's working just fine in Android. But when I run on an iOS Simulator, I get t

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',