Questions tagged [flutter-android]

304 questions
0
votes
1 answer

can’t run my flutter project on android device

i have project using flutter. why the project can’t run on android device? initally installed but missing, I thought it would build itself as before. but it turns out an error like this: what’s wrong?
Ayas
  • 61
  • 6
0
votes
1 answer

Flutter app stuck on splash screen on release

I'm facing a weird issue with the release build of my flutter app. The splash screen will be on forever and the app won't show the home screen. However, when I run it using flutter run --release the app works fine. Here's my…
Max
  • 101
  • 2
  • 10
0
votes
0 answers

Mapbox bug, dark screen on Navigator push

i wanted to test MapboxGL using this package https://github.com/apptreesoftware/flutter_map . I'm testing on Nokia 5.3 , Android 10 . So when i test it , launching the screen directly from the Main.dart , it works fine with the markers and…
Outail Ouni
  • 113
  • 1
  • 4
0
votes
0 answers

How can communicate between my Android module and Flutter Module?

Currently, I have integrated flutter in my existing Android Module using Flutter cached Engine. Is there a way that I can pass the data as we do in android using Bundles
0
votes
1 answer

How to get full duration of HLS video in flutter video_player on Android?

I'm trying to play HLS video in flutter video_player. I'm generating m3u8 file like…
Som-1
  • 601
  • 7
  • 16
0
votes
2 answers

Upload JSON Request as a background task in Flutter

I have a requirement where I want to upload JSON request data(fetch from database tables) to server and get the response, based on response I have to update local database(sqflite: ^1.2.1). I have multiple screens and I need to create different JSON…
Faiz Anwar
  • 658
  • 2
  • 9
  • 18
0
votes
0 answers

When I Scroll the content of pages goes behind search bar and text widget

My Widget Structure is as following When the Main PageView index is 0 then Explore() Widget is called, else Category() widget is called Align( alignment: Alignment.center, child: PageView.builder( controller: _controller, onPageChanged:…
0
votes
2 answers

Appwrite with Flutter [Connection refused]

I just tried appwrite platform for Flutter, but this happened after any request I tried. The server is initialized at http://localhost:300 (or https://localhost:301), endpoint = http://localhost:300/v1 static Future init() async { _client =…
byjtew
  • 13
  • 6
0
votes
1 answer

How to add native android screen to flutter app?

In my flutter application i need to implement simple native Android screen (for example handle back button pressed and create dialog - You are going to exit app (ok/cancel) or Button info about app ) How can i do this in my flutter project? it…
maximcore
  • 23
  • 4
0
votes
1 answer

Flutter: floating button inside each row of listview

I am learning Flutter. The version I am using is Flutter 1.24.0-10.2.pre • channel dev. I am working on a project that could run on Windows 10 and Android. Therefore I use the dev channel. The project is a notebook, each note has a title, content…
Antony
  • 193
  • 1
  • 1
  • 9
0
votes
1 answer

Exception caught by widgets library - Flutter

As I mentioned at the title, I got this error: Exception caught by widgets library Closure call with mismatched arguments: function '[]' Receiver: Closure: () => Map from Function 'data':. Tried calling: []("imageURL") Found: []()…
medmax
  • 41
  • 1
  • 5
-1
votes
1 answer

Flutter : A value of type 'List?' can't be assigned to a variable of type 'List'

`import 'package:flutter/material.dart'; import 'package:device_apps/device_apps.dart'; import 'package:app_uninstaller/app_uninstaller.dart'; import 'package:screenshot/screenshot.dart'; import 'package:share/share.dart'; import…
-1
votes
1 answer

How can i remove previous route if i navigate from drawer in flutter

When I navigate from drawer to any page and return back the drawer keeps open. For example: The drawer contains two-button and if I button one and then back, then second and then back. Now if I press back button of android it will repeat all…
-1
votes
1 answer

How to know Users App Time Information in Flutter

So, I want to build an app where I can track the users' time spent in a particular app. For example, he spends 3 hours on Twitter, 2 hours on Netflix, and so on. Is there any way to find this out? Or, the only way is to ask the user itself about…
iyushh
  • 9
  • 4
-1
votes
2 answers

Applying container box decoration to button inside it

Can the container box decoration be applied to button inside it. For example I am trying to have circular border in an elevated button. It is not applying in this case. Container( height: 100, width: 100, decoration: BoxDecoration( …
Leo
  • 436
  • 1
  • 3
  • 14
1 2 3
20
21