Category "flutter"

unable to show real ads for 2 months, test ads working well, admob account valid (no missing info)

My ads do not work for 2 months and DONT HAVE ANY INFO ABOUT WHY. This problem drives me crazy. Hello, I have a big problem with AdMob (their support form does

Multidex issue with Flutter

I'm getting the following error compiling with gradle using Flutter in Android Studio: Dex: Error converting bytecode to dex: Cause: com.android.dex.DexExcepti

Flutter Dart: RegEx to extract URLs from a String

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

testing dart code in android studio (no widgets involved, only data structures and concepts)

I want to run this code in android studio. I got the entire file from this webpage: https://flutter.dev/docs/cookbook/persistence/sqlite. I already have the pub

How to create a circle icon button in Flutter?

How can I create something similar to a FloatingActionButton?

Connection has been shutdown: javax.net.ssl.SSLException: Tag mismatch

Has anyone encountered this error before? I'm new in flutter, is there anything wrong while running the sample file of flutter that I'm missing? The stack trac

I'm trying to run my flutter app on an emulator from VS code and I get an error saying it cannot find the path to my main.dart file

I want to run my flutter program on an emulator from VS Code. The idea is that when I run a debug session in VS Code, the app should appear on the emulator. I h

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-Firestore: - Code to retrieve data from firestore then save/use it

I am very new to Dart, and coding in general. I have produced this code after watching tutorials on YouTube. For the most part, I have been able to troubleshoot

how to disable screen capture in flutter programming language?

In this case I will disable the screen capture on certain pages. which contains documents that are vulnerable to misuse. Does Flutter support that? this code ma

WebSocketChannelException: HandshakeException - Flutter app with Laravel Websockets on custom server Cerificated with Cpanel

I have Laravel web application includes live chat relying on Laravel Websockets https://docs.beyondco.de/laravel-websockets/ For now i am making Flutter app fo

The page property cannot be read when multiple PageViews are attached to the same PageController.Failed assertion: line 184 pos 7:

Iam trying to restart the quiz app but when iam press the restart i have this error message (The page property cannot be read when multiple PageViews are attach

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

How to set boundaries for a button splash effect in Flutter?

When I press an IconButton inside a container, the splash effect is drawn outside the container so it kind of "overflows". How can I set boundaries to limit the

File picker type image returns null flutter

I have a problem with file picker type image. when I specify the type of the file as image file the function returns null , but when I specify an other type ,it

How to set boundaries for a button splash effect in Flutter?

When I press an IconButton inside a container, the splash effect is drawn outside the container so it kind of "overflows". How can I set boundaries to limit the

Flutter web performance with getx

I'm using getx state management for flutter. I read a few articles (blog.codemagic.io, itnext.io) that explain that we shouldn't use methods for widgets because

Flutter web performance with getx

I'm using getx state management for flutter. I read a few articles (blog.codemagic.io, itnext.io) that explain that we shouldn't use methods for widgets because

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