flutter Questions

7

Solved

After upgrading flutter with flutter upgrade to 3.10 All my (previously working) Futures stopped working. Every single future is underlined with red saying "Future isn't a type". What can...
Gabrila asked 17/5, 2023 at 6:52

3

Solved

I am trying to generate a list in flutter which delays every item after some delay. I was tried using FutureBuilder and AnimatedList but i failed to get it. import 'dart:async'; import 'package:fl...
Prent asked 2/7, 2018 at 19:13

4

Solved

i used image_picker package in my app and it works fine for one image but now i want to use it for multiple images and store them in an array as File. any idea could be greate.
Ddt asked 3/8, 2021 at 20:28

4

I have been trying to build an apk using the command "flutter build apk" and the apk is building perfectly fine and I am also able to run the same on my emulator. But for some weird reaso...
Rifle asked 15/5, 2023 at 5:40

3

Right now I am using a column to display several widgets: Column( children: [ Text('1'), Text('2'), Spacer(), Text('3'), Text('4'), ], ), So the screen looks like this: --- 1 2 3 4 -...
Sisera asked 18/6, 2021 at 9:36

6

Solved

Yes, my question is this. How can I do like this? I did a BottomNavigationBar but it looks like this. My codes are like this: bottomNavigationBar: BottomNavigationBar( items: <BottomNavi...
Keeton asked 27/12, 2018 at 8:18

3

I am using 2 Sliver Headers above GridView and a ListView on a CustomScrollView . I want only 1 of the headers (the one I am scrolling over) to be pinned When I scroll down. I want to be able to sc...
Legacy asked 1/8, 2019 at 15:13

2

Solved

Feature for deserializing Generic Classes was introduced to freeze a few months back. I am trying to follow the documentation, but I am facing a compile time error: The argument type 'NameOfClass F...
Obsequies asked 30/9, 2022 at 6:56

3

Solved

For the showTimePicker function in Flutter used to select a time, is it possible to set a defined time interval (such as 15 minutes) to prevent users from selecting any other timing? Currently, thi...
Intine asked 29/6, 2020 at 5:50

2

Solved

What is the difference between: class A {} class B with A{} and mixin A{} class B with A{} ?
Flyback asked 5/5, 2022 at 20:15

5

Safearea() does not wrap the showModalBottomSheet properly. I need to show the modal under the status bar. class ModalBottomSheet { static void renderModalBottomSheet(BuildContext context, Widget...
Ballyrag asked 25/7, 2022 at 12:20

2

I want to hide the keyboard when the user taps outside of a TextField. My current solution is to listen to taps in a GestureDetector that wraps the screen and call FocusScope.of(context).unfocus() ...
Portmanteau asked 23/6, 2020 at 19:4

2

Solved

I recently updated Android Studio to Ladybug and since then I encounter this error when i try to build my app: Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... Running Gradle task 'a...
Bigwig asked 7/10 at 8:4

15

Solved

Having trouble creating IOS app using flutter. can any one help how i can solve this issue?? Launching lib/main.dart on iPhone 14 Pro in debug mode... Running Xcode build... Xcode build done. 7.7s ...
Ejector asked 31/5, 2023 at 14:4

1

The argument type 'QrImage' can't be assigned to the parameter type 'Widget?'. Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('QR Code Generator'), ), body: ...
Rite asked 11/8, 2023 at 19:4

1

flutter run ../../../../Documents/FlutterSoftware/flutter/packages/flutter/lib/src/material/animated_icons/data/list_view.g.dart:3132:13: Error: Method not found: 'Offset'. Offset(42.17915438835...
Varletry asked 25/6, 2020 at 9:36

3

Solved

I saw this as part of the logs generated by Gradle when building an app in release mode in flutter. Does this have any side effects on the overall app?
Montelongo asked 29/7, 2022 at 6:34

5

Solved

I was working on a project and wanted to add the difference in DateTime in terms of minutes, hours, days, weeks, months and years. I was able to get in minutes up to days. e.g. DateTime.now().diff...
Dambro asked 14/10, 2019 at 11:21

5

I have had working code to google sign. Now, I want to upgrade google sign in library version, because of google has plan to deprecate current api. I updated the version and code, but it's not work...
Fruitcake asked 22/2, 2023 at 21:17

5

Solved

I have a ListView with some items, but my problem is that the item inside the ListView will expand through the all-screen width, and I tried to use SizedBox and Container but it doesn't work for me...
Dichlorodifluoromethane asked 18/6, 2021 at 12:11

3

I'm struggling with adding native ads in my flutter project . My project is using Kotlin for android so I follow the documentation of google_mobile_ads but it keeps showing me these errors after I ...
Uncircumcised asked 5/7, 2021 at 4:34

5

Solved

I am currently working on flutter. I am using stack for stack 2 widgets. But i have some problems. This is what I am trying to do. But my widgets look like this. That's my code: class UpcomingSes...
Irrationality asked 9/7, 2021 at 8:17

3

I am new to flutter. We have a proxy setup in the network. The proxy is already applied to android studio and it is working fine. While creating a new application it is working fine. But, get packa...

3

What's the difference between Thread, Isolate and a Process in Dart? As far as I know Dart is a single-threaded language, but it can spawn many isolates which don't share memories with each other a...
Seely asked 28/8, 2020 at 15:23

4

Solved

As you can see from the gif and from the code below I have a container and a text widget, both wrapped in a hero widget. When the container is clicked the second page opens. I would like to have a ...
Stonefly asked 23/11, 2022 at 16:42

© 2022 - 2024 — McMap. All rights reserved.