Category "dart"

How to use proxies library in flutter?

I want to create an Android app that connects to a proxy by button clicked and I'd like to know what should do to make this event? My proxy needs(password, user

how can I go back to debug mode after releasing the app?

I built my app by the release mode, and then I realized I couldn't use 'hot reload' and emulator in the release mode. So I want to switch release mode to debug

How to open my flutter app by clicking a url

I'm working on a flutter app, and now I need to be able to open my app whenever a URL with a certain pattern is clicked. In other words, I'd like to have that o

Can we do twitter authentication without firebase in flutter app?

I just want to ask that can we do twitter authentication in flutter project without using firebase?

Store profile image in local storage and display it

I am building a profile page for my app in which I have a profile image section. I want to store the image that the user selects in the local storage and load i

How to trigger phone open with, when done downloading with url flutter

Hi everyone so I'm trying to create an app using flutter that will able the user to download file from URL (might be PDF, image, etc.) I want the app to be able

How to remove the space under the elevated button at the bottom of the screen?

import 'package:flutter/material.dart'; class AddPlaceScreen extends StatefulWidget { static const routeName = '/add-place'; @override _AddPlaceScreenSt

Json decode Instance of Item

I'm trying to save a list of object into a shared preference for easy storage. I'm getting the error [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exce

Flutter WebView doesn't work on canvas for web

I am building a cross platform application for web, android and mobile using WebView feature but I want to use the canvas implementation but the WebView doesn't

How to add a marker in flutter to the Yandex MapKit?

How to add a marker in flutter (as far as I understand, this is placemark, but after studying the documentation. I haven't found how to add it. marker on the ma

How to add a marker in flutter to the Yandex MapKit?

How to add a marker in flutter (as far as I understand, this is placemark, but after studying the documentation. I haven't found how to add it. marker on the ma

Flutter CustomScrollView how to keep the viewport when adding item at the start of the list?

Problems: For example, there is a list of 100 messages. The current viewport of CustomCrollView is showing message 50 -> 60. When adding a new item to the st

how to delete an object from list in flutter

i want to delete an object from list of inventory in which i just have description and url of the inventory and i want to delete object of inventory by descript

Flutter - BottomNavigationBar - SizedBox() Issue

I'm new to flutter development. I've been trying to add SizedBox() but I'm getting the following Error at compile time The argument type 'SizedBox' can't be ass

use socket.io client in dart in different places with a single instance

I use Bloc and repositories, I'm going to use the socket in different places in the project. each api package has its own events but shares the same socket. I w

Flutter - Attempting to display a list of tweets fetched from JSON onto ListView

I am attempting to fetch a list of tweets using Flutter's HTTP library and Twitter's API endpoint, and then display the list of tweets onto a ListView widget us

Error while building Bottom Navigation Bar Flutter

I'm new to Flutter and I'm trying to learn by imitating an app so please do not bash me too hard. First of all, I have this main_page.dart that looks like this.

Did you intend to call the constructor and forget the 'new' operator when rendering a widget

// config dart import 'package:flutter/material.dart'; import 'package:offline_solution/pages/pages.dart'; Map<int, Map<String, dynamic>> bottomBar

Get activate notification in flutter with FCM

I have a flutter social network app with firebase I want to send notification to user when they get follow,like,comment or any activity I know firebase cloud m

Any way to play audio file for windows desktop application in flutter?

I'm new to flutter and making a desktop application with flutter. Now I need to load and play audio files but found that the audio player packages don't support