dart Questions

4

Solved

This is how my app looks normally: I would like to make the status bar area and bottom navigation bar hidden so that image is shown in fullscreen. Tried SystemChrome.setEnabledSystemUIOverlays...
Havstad asked 28/1, 2019 at 18:45

3

Solved

I am trying to use my app as a windows desktop, but I get this error in the console: Building Windows application... CMake Error at flutter/ephemeral/.plugin_symlinks/native_pdf_renderer/windows/Do...
Darden asked 4/2, 2022 at 20:14

4

I am new to flutter.I have started to create a reminder app.I am trying to call a push notification on android alarm call back.I am using awesome_notifications. On call back I am calling _ringAlarm...
Nickola asked 23/10, 2020 at 11:26

2

This is the code inside the builder method of the Streambuilder that causes the issue: List<User> users = snapshot.data; users.sort((user1, user2) => (user1.distanceInKm ?? 1000).compareT...
Songster asked 21/12, 2019 at 19:8

7

Solved

I am using image_picker 0.6.7+17 library in order to take an image using the phone camera. I am using an android device and not an ios device. A problem It seems like that getImage method is not de...
Catgut asked 21/12, 2020 at 21:38

5

I am publishing my application through Xcode for the first time but I got the error below. Error Message below Invalid App Store Icon. The App Store Icon in the asset catalog in 'Runner.app' can't...
Hoeve asked 27/7, 2023 at 16:25

5

How can I access the last git commit hash, current branch and last tag from the source directory, when building a flutter app? I want to display this in a "About version" dialog. There is...
Colloidal asked 14/9, 2020 at 17:6

4

Solved

Okay, so the title may be slightly misleading, This is simply my end goal. So, I'm just getting into the world of Dart. So far it seems great, but my biggest issue with it is the stupid default fo...
Autoharp asked 19/1, 2020 at 23:31

3

I simply changed my package name in Flutter by editing .xml and gradle file(s) and changing the folder names in src/main/kotlin/my/package/name. After that action there is "1" sign in fro...
Queenhood asked 29/1, 2020 at 21:44

4

I used Text.rich() or RichText with font size 25. but the size of RichText is looking greater than the Text.rich() please tell me why the size is different, I specified font Size 25 for both widget...
Finnigan asked 21/12, 2021 at 10:47

3

Solved

This a typical code provided by Dart for a server using Shelf package : import 'dart:io'; import 'package:shelf/shelf.dart'; import 'package:shelf/shelf_io.dart'; import 'package:shelf_router/shel...
Health asked 8/11, 2021 at 16:5

5

I'm getting error after update the Android version and flutter version. Right now I want add the "file_picker: ^5.2.5", and "cached_network_image: ^3.2.3" plugin so getting &quo...
Pellicle asked 18/1, 2023 at 5:40

4

I am using chewie player to play a list of videos in pageview.builder. when i scroll my page below it works fine,but when i scroll my page to view top video it shows me this error.How can i re-in...
Koreykorff asked 26/12, 2019 at 10:51

7

Solved

I develop in Flutter for 1 year and suddenly I faced this error after launching IntelliJ IDEA. The Dart analysis has stopped to work. And only way to analyze code is via dart analyze lib/ that is s...
Picturize asked 23/10, 2020 at 12:37

3

I'm having a problem when trying to get the user location using location.getLocation() on a real device, now it works perfectly on the emulator and super fast but on a real device it's slow, I don'...
Nora asked 2/10, 2020 at 12:28

6

Solved

I am trying to get a red asterisk() in a RichText widget; I can use the style property. But it will make the entire text red. I want only the asterisk() to be red. Any clue, how to make it happen? ...
Vasilek asked 14/12, 2018 at 19:4

8

Solved

I tried to update my project but not able to solve this error. **I have tried using Alias - "as" keyword inside my code import 'package:flutter_carousel_widget/flutter_carousel_widget.dar...
Tilden asked 30/6 at 14:54

2

Solved

How do we disable swipe on BottomNavigationBar attached to a scaffold? I could not find a way in the official docs to do so.
Smolt asked 4/8, 2018 at 19:14

3

Solved

I am totally new to flutter and my first Steps already caused errors I cant solve by my own or searching this website.. I want to create a Button but get an Execption of missing Directionality as ...
Ghat asked 25/12, 2018 at 16:20

2

Solved

Basically I am going through the definition of closure functions which says - A function that can be referenced with access to the variables in its lexical scope is called a closure So I want to ...
Aconcagua asked 3/3, 2020 at 8:47

11

I am using Linux Ubuntu 18.04.1 LTS. I am creating a new Flutter project through git bash or terminal or from Visual Studio Code directly but gets an error which says: Got TLS error trying to fi...
Bouillabaisse asked 18/11, 2018 at 14:43

5

Solved

I am trying to upload a pdf-file to Firebase-Storage using this function: static Future<String> savePdf({ required Uint8List assetAsUint8List, required String fileName, required DocumentT...
Opposition asked 18/1, 2022 at 22:30

2

I am new to flutter, I was trying to build a web app , and i am trying to save text data to firestore but whenever i run my web app it doesn't run and a new file is opened named web_entrypoint.dart...
Covell asked 6/7, 2021 at 7:50

5

I can see the scrollbar in the ListView, and I can scroll the ListView. But the problem is that I can not use/drag the scrollbar to scroll the ListView. It just appears as an indicator and doesn't ...
Tugman asked 5/10, 2020 at 19:5

10

First of all, I am a complete beginner (not only in dart/flutter), but in programming in general. I am currently working on a chat app. Goal: When I am picking an image within the ChatScreen - ana...
Sisak asked 10/1, 2019 at 15:23

© 2022 - 2024 — McMap. All rights reserved.