Category "dart"

Error while trying to precache local SVG files in Flutter using flutter_svg library

I'm getting following error when I try to pre-cache SVG files in flutter using flutter_svg library: > flutter: ══╡ EXCEPTION CAUGHT BY

Flutter / Dart FFI existing .so file for Android

I'm trying to use a pre-compiled .so file with Flutter/Dart FFI. I've generated bindings with dart-ffigen, which seems to work without any issues. I've added th

Stuck terminal when creating new flutter project with get_cli?

Here the activation command flutter pub global activate get_cli Here the create new project command get create project:getcli_test

error: Undefined name 'uploadTask'. Flutter error

I am integrating file uploading system in my flutter project using firebase. While making progress indicator I am getting undefined name 'uploadTask' error. In

How to use 15 length character key in flutter encrypt package

I'm going to use this package for encryption in the flutter application. It doesn't accept keys lower than 16 characters long. But I want to use 15 characters k

ScreenUtilInit should be return but WillPopScope need to return at the same time

Update: I solved the first problem (merged codes). But now i have a different problem. I have LateError (LateInitializationError: Field '_instance@34075166' has

how can i import main functin of another dart file

How can I verify that a print is called for in dart unit tests? I am writing a sample code for textbooks and want to try it out. There are many examples that us

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