by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Aashishm178
@Aashishm178
This is packaged based error , read documentation of package
David B
@dpbadiola
Hi all. A quick question about local networking for having both Android and iOS emulators running side-by-side and connecting to a local backend. Am trying to connect to my backend using this url http://localhost:8080 which didn’t work. So I’ve tried the suggestion setting to 10.0.2.2 but this only works for Android. For iOS what worked is using 127.0.0.1. Is there a way to have a common URL for both running emulators or am default to use my machine network IP? Am just a little bit concerned that I’ll be updating that URL here and then since my IP are set to by dynamic on my hotspot (so no static mapping).
Michael Krasnov
@r3dm1ke
Hi all. I have an architecture question for flutter devs, hope it was not asked before. I am a newbee, so I started creating simple apps with flutter/material.dart. Now, I noticed that StatelessWidget is also imported from this package. Is it intentional? I mean, the StatelessWidget is not a UI widget, certainly not a material widget. Does not make any sense (for me, and my experience is limited, so very possibly I am wrong) that a system-level class is exported from material and not something generic. Is there reasoning behind this?
Sebastian Cheung CQF
@scheung38

Hi not sure what are the differences between Flutter:

Chrome(Web)
Web Server (Web)
macOS (desktop)

as far as I see they are all the same, launching the same thing?

Jasper
@jbg
how are they all the same?
flutter macos is native, it doesn't bundle a web browser
vishal-mourya
@vishal-mourya
Hey I wanted to know where I can get the final apk file for my flutter project , currently I am able to run it on only Debug mode..plz help , Thanks in advance
Please help me out
Ashutosh Chauhan
@masterashu

Hey I wanted to know where I can get the final apk file for my flutter project , currently I am able to run it on only Debug mode..plz help , Thanks in advance

@vishal-mourya run command flutter build apk it will build a release apk in the build/app folder.

Aashishm178
@Aashishm178
@bnayagrawal can you show flutter doctor --verbose ?
Sachin
@Sachin_Mittal98_twitter
I'm trying to do a remote search with SearchDelegate but i don't understand where i can put the request to my server
jagdishsinh jadeja
@jagdishjadeja
@Sachin_Mittal98_twitter in your suggestion function
therenca
@therenca
Are charts supported in flutter for Desktop?
Netesh
@netesh5
Is there any way to play the live video inside the app ? Not from youtube ..live video from other websites
Jakub Szwiec
@qbait
Hi guys, I'm beginner, I'm coming from native Android development. What's your favorite way to handle networking? I'm considering Chopper and Retrofit, because I like Retrofit on native Android. Do you recommend something better?
Arnol Fokam
@ArnolFokam
@therenca . Yeah charts are supported in flutter. Here's the links to some useful ressources
https://www.youtube.com/watch?v=GwDMwnELTP4 (Flutter Tutorial - Flutter Animated Charts)
https://pub.dev/packages/charts_flutter
Aisen
@YunNeo
I use TextField, when I click it to type, My keyboard disappeared as soon as it appeared
Aisen
@YunNeo
problem solved . use global key
shinriyo
@shinriyo
Do you know Flutte for web?
Flutte for web doesn’t have text field
shinriyo
@shinriyo
Aashishm178
@Aashishm178
@qbait try using dio its the best for fluttee
kharitonovAL
@kharitonovAL

hey guys!
Please give me some advice in situation… I’m trying to build and deploy site to firebase hosting. but getting this error: Uncaught Exception: webOnlyScheduleFrameCallback must be initialized first.
My main.dart looks like this:

import 'package:firebase/firebase.dart' as fb;
import 'package:flutter_web_ui/ui.dart' as ui;
import 'package:mc_web_app/main.dart' as app;

main() async {
  try {
    fb.initializeApp(
        apiKey: "AAA",
        authDomain: "-f206c.firebaseapp.com",
        databaseURL: "https://-f206c.firebaseio.com",
        projectId: "-f206c",
        storageBucket: "-f206c.appspot.com",
        messagingSenderId: "77",
        appId: "1:66:web:00",
        measurementId: "G-B"
    );
    await ui.webOnlyInitializePlatform();
    app.main();
  } on fb.FirebaseJsNotLoadedException catch (e) {
    print(e);
  }  
}

how can I handle this error? Thank you!

Aron Scemama
@ScemamaAron_twitter
How do you use SharedPreference for web app, it should be included in the shared_preference package but it’s not working
kharitonovAL
@kharitonovAL
@ScemamaAron_twitter there is shared_preference_web https://pub.dev/packages/shared_preferences_web
13 replies
Such Is-Life
@mmayboy__twitter
Hi. I'm trying to fix a widget to the bottom of the screen using the bottom sheet parameter of a scaffold but the resulting widget isn't a bottom sheet at all! It behaves as though it's bound to the same row with contents of the body parameter
Matheus Moraes
@matheus7mm
Hi guys! Can someone help me with Pedometer? I need to count how many steps a user is taking and how long does it take... I even created a question on Stack Overflow: https://stackoverflow.com/questions/62130795/pedometer-with-time-flutter I tried to use Pedometer but it isn't working. Can someone give me some advice? Thank you!
Aashishm178
@Aashishm178
@matheus7mm which package are you using?
4 replies
Aashishm178
@Aashishm178
Which you used setState in your startlistening function?
I dont think it is needed
Ethan4u
@Ethan4u3_twitter
How to save data locally on flutter?
Matheus Moraes
@matheus7mm
@Aashishm178 you're right. I have put there as a test... But it isn't working anyway...
Ethan4u
@Ethan4u3_twitter
image.png
How can i add more than one items to my result page?
Aashishm178
@Aashishm178
@Ethan4u3_twitter sqflite for sql type database aur shared prefrences
@matheus7mm didnt understand your question
Matheus Moraes
@matheus7mm
@Aashishm178 when I try the package (pedometer), it doesn't count properly... For example, if I take 1, 2, 3 steps, it doesn't show 1, 2, 3, 4, 5, etc... It shows like 0 and 5 only. Like if there is a time to update
Aashishm178
@Aashishm178
@matheus7mm i think it is not awiating for the future properly thats why this problem is occuring , try initilazing in the diddependencieschange and use await their and in the function as well
Matheus Moraes
@matheus7mm
@Aashishm178 How can I put it?
Matheus Moraes
@matheus7mm
@Aashishm178 can you send an example please?
Shubham Mittal
@ZenMittal
Is it possible for a freelancer without Apple Developer Membership to create an iOS release build and send it to the client. Client may later publish that app with his developer membership.
It's completely possible for android. Can we do that for iOS as well?
Can't we sign a release ready app for iOS just like in Android without the developer account?
Aashishm178
@Aashishm178
I dont think so it is possible
Priyanka Tyagi
@ptyagicodecamp
Hi All, I'm calling a REST API from macOS /Desktop app variant, and getting this error: Unhandled Exception: SocketException: Connection failed (OS Error: Operation not permitted, errno = 1). It seems to be some permission issue at macos side/config. I got no success fixing this yet. Has anyone tried a HTTP call from macos flutter app successfully ?
Jasper
@jbg

Is it possible for a freelancer without Apple Developer Membership to create an iOS release build and send it to the client. Client may later publish that app with his developer membership.
It's completely possible for android. Can we do that for iOS as well?

Yeah, you can do this, but the tooling isn't very user friendly. Nothing technically stops you creating a binary without a membership, and client can codesign it

shinriyo
@shinriyo
Dart has heredoc?