Category "flutter"

Get the value of an integer from a stateful widget from another class in flutter

Learning Flutter and I am building a counter that I would like to use for a cart. I have a problem retrieving the integer value of the counter stateful widget I

How To Add Error Handling To Flutter When Running Chewie Video Player

can anyone explain why flutter will at times crash and open a new tab in your editor highlighting some prebuilt flutter code, an example being when I implement

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

how to play GStreamer media on Flutter

I want to know how can I get GStreamer to work on Flutter application to show a video on media player. Any help and tips would be appriciated

How to update my list in flutter when inserting a record?

When I save a record it doesn't update my list. Can anyone see something wrong in the code? Expanded( child: Obx( () => LazyLoadS

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.

Flutter platform specific plugin - Reply already submitted

I am trying to call multiple methods from my platform specific plugin and I am having hard time with errors E/MethodChannel#fuzzy_plugin( 3277): Failed to handl

Command PhaseScriptExecution failed with a nonzero exit code - Failure to install app on physical device

I develop app in Flutter. It runs smoothly on Android but fails to install on physical iOS device. However, on iOS simulator no issues. I know this problem has

Has Flutter v3.0.0 come with any performance gains?

I'm on the fence about upgrading to 3.0.0, mainly because not all my dependencies have moved there yet. So I'm wondering, how critical it is to upgrade to it at

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

Error Parsing JSON response from Server in Flutter

I have a JSON response that I would like to parse to be able to use it's data. I have created the model accordingly using https://quicktype.io/ which is given b

flutter pop back to navigated route

i am looking for proper solution to pop back to page where user was navigated. I already found this answer but i do believe there should be more proper way to d

Flutter Substitute for accentColor

I trying to make a light theme and a dark theme for my app, I making an course of flutter and the code it's a little out of date and some commands doesn't work

How to validate url using regex but without http and https

I want to validate url i am using this regex !(Uri.tryParse(val)?.hasAbsolutePath ?? false) i entered google.com but it return false when we do not add http or

How get a statistical summary from List of Maps in Dart?

Using the following List of Maps, I would like to create a kind of statistical summary in order to be able to create a plot from it. List<dynamic> dat

flutter got error code. _CastError (Null check operator used on a null value)

Update context Can I use where and orderby in FirebaseFirestore to running? Because I got the error in itemCount: snapshot.data!.docs.length when I use this cod

HEREmaps SDK Flutter - Routing error: 6, exception: These credentials do not authorize access, error code: 403

Im using Here SDK (Explore) for Flutter, the account got billinginformations and right credentials. I can show a map and draw polylines on it. But when i try to