Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Johannes Milke
Hello! I have created another video about "Flutter Tutorial - Null Safety In Flutter & Dart [2021] Easy Explanation!" https://www.youtube.com/watch?v=PnSpQkOKwv0 alt
Ajantha Bandara
Does anyone knows how to keep active web socket connection to receive messages in flutter(Android)?
BackSlash Flutter
image upload flutter.jpg
Designing OnBoarding Screen with Login Screen in Flutter - SpeedCode
Johannes Milke
Hello! I have created another video about "Flutter Tutorial - Create Multi Language App (i18n) [2021] Internationalization In Flutter" https://www.youtube.com/watch?v=aIEegP0cUOQ alt

It is my pleasure to connect with you here and how is the situation of Covid19 lockdown in your location?. I'm messaging you because I have an investment proposal to introduce that anyone can do right from the comfort of their home..

And also I will like to know if you Have thought about having your own company in your field of study ? Thereby creating more stable income and providing more Jobs at the process and living your dream life, do you think earning single income or working 9 to 5 job will make you achieve your dream life? With this in mind I will like to propose an investment opportunity that may secure your future if you consider it.

Let me know if you would like to considered this investment as secondary income opportunity, and this investment doesn't interfere with your current work. If you feel that this is what you are looking for, please response and let me share my story with you. Either way, it's great to make a new connection, and I wish you all the best in your endeavors.

Instagram: https://instagram.com/martin.b.darren?utm_medium=copy_link


WhatsApp contact:

Innocent Tauzeni
How do i upload data on excel to firebase database using flutter
Hasan Kemal Türk
Hello, I am learning state management and provider. And I have an issue. When I hot restart the app it does not update the UI but if I perform hot reload it does. Why is that happening??
Hasan Kemal Türk
Okay I fixed the issue
Provider.of<CartModel>(context, listen: false).removeAll();
Here when I changed the listen to TRUE, the issue went away
Hey, @darren_pow Fuck off.
We're here to learn and gather advice about coding, not about some phony coaching. Rip someone else off with your bullshit talk.
But that's how you guys operate, right? Bullshit walks, money talks.
@RandalSchwartz These "life coaches" need to be banned.
I know a charlatan when I see them.
Johannes Milke
Hello! I have created another video about "Flutter Tutorial - Upload Flutter Project To GitHub [2021]" https://www.youtube.com/watch?v=zD6baZsoQDs alt
Matthias Ngeo
Can someone explain how model.increment trigger the counter text to increase/rebuild in this snippet https://github.com/brianegan/scoped_model/blob/master/example/lib/main.dart#L84 please? Looking at the source code, I can't seem to find anywhere in which they registered a listener to listen for changes, https://github.com/brianegan/scoped_model/blob/master/lib/scoped_model.dart
I just cannot seem to understand how they trigger the InheritedModel to rebuild in the 2nd link
Johannes Milke
Hello! I have created another video about "Flutter Tutorial - How To Autocomplete TextField [2021] Autofill Email, Username, Password" https://www.youtube.com/watch?v=kHS31QVtGF4 alt
Randal L. Schwartz
I'm an active Dart/Flutter Google Developer Expert, pretty much working with both Dart and Flutter since their respective initial releases. I also have lots of industry experience. I'm between gigs, and looking to start something immediately if it's a good match. Remote work preferred, and I'm in US Pacific Timezone, but don''t mind shifting if needed. I'm also selling my time in one hour increments for code review, mentoring, or pair programming.
Johannes Milke
Hello! I have created another video about "Flutter Tutorial - How to Fix Bottom Overflowed When Keyboard Shows [2021]" https://www.youtube.com/watch?v=XDxgZVYxez4 alt
Mark Buckley
I'm trying to get a very basic app up and running and getting errors that I can't seem to solve myself and using google to see how others have solved. Note that this is on Windows 10 and running Flutter 2.5.3 and the latest Dart from Android studio. Running this command: flutter pub run flutter_native_splash:create --verbose

I get this error message: Error on line 39, column 5 of pubspec.yaml: A dependency may only have one source.

39 │ ┌ android: "launcher_icon"
40 │ │ # ios: true
41 │ │ image_path: "assets/App_icon_HALL_v1_512x512.png"
42 │ │
43 │ │
44 │ │
45 │ │ # The following adds the Cupertino Icons font to your application.
46 │ │ # Use with the CupertinoIcons class for iOS style icons.
47 │ │ # cupertino_icons: ^1.0.2
48 │ └

[ +459 ms] "flutter run" took 673ms.
[ +6 ms] pub finished with exit code 65
[ +2 ms]

       #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
       #1      _DefaultPub.interactively (package:flutter_tools/src/dart/pub.dart:391:7)
       <asynchronous suspension>
       #2      PackagesForwardCommand.runCommand (package:flutter_tools/src/commands/packages.dart:247:5)
       <asynchronous suspension>
       #3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
       <asynchronous suspension>
       #4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #5      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
       <asynchronous suspension>
       #6      FlutterCommandRunner.runCommand.<anonymous closure>

<asynchronous suspension>

       #7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #8      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
       <asynchronous suspension>
       #9      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
       <asynchronous suspension>
       #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #11     main (package:flutter_tools/executable.dart:92:3)
       <asynchronous suspension>

[ +116 ms] ensureAnalyticsSent: 110ms
[ +5 ms] Running shutdown hooks
[ +1 ms] Shutdown hooks complete
[ +1 ms] exiting with code 65

when running flutter doctor -v everything looks fine
Can you add all your pubspec.yaml?

Hi everyone, I get an error when trying to use the debugger in Vscode, and only in Vscode, not Android Studio.
In vscode I am tryng to run the debugger at a the simple 'Counter app' after flutter create'.
I am running with a 'launch.json' file inside the '.vscode' folder.
The file is as follows:

"version": "0.2.0",
"configurations": [
"name": "saar_vscode_main.dart",

        "type": "dart",

        "request": "launch",

        "cwd": "/",
        "program": "lib/main.dart",

        "args": [
            "--flavor", "'stg'"

        "console": "debugConsole",

         "deviceId": "android",

         "flutterMode": "debug",

         "runTestsOnDevice": false,




The error thrown is :
Error when reading 'lib\main.dart': No such file or directory.

I tried the workspace solution in the link but it didn't help:


Call me old-fashioned but what happened to editing code in a text editor and using the terminal to eun and hot-reload?
Specifically Atom and Zsh?
Rony Joseph
cam anyone help to solve this err
i am stuck here, for 2 days
You should look at your gradle dependency. Check firestore tutorial your are forgetting imports
1 reply

Hi guys,
Would love your feedback on this.
We are working on new design and ways to improve flutter's app comprehension from users.
Feel free to give us your ideas.


Rony Joseph
in my pubsec file,cloustore package is latest
can someone help me for this issue Baseflow/flutter_cached_network_image#336
seeking for contributors
and support with likes)))
Mark Buckley
Here's my entire Pubspec.yaml file

name: hall_web_app
description: A new Flutter project.

The following line prevents the package from being accidentally published to

pub.dev using flutter pub publish. This is preferred for private packages.

publish_to: 'none' # Remove this line if you wish to publish to pub.dev

The following defines the version and build number for your application.

A version number is three numbers separated by dots, like 1.2.43

followed by an optional build number separated by a +.

Both the version and the builder number may be overridden in flutter

build by specifying --build-name and --build-number, respectively.

In Android, build-name is used as versionName while build-number used as versionCode.

Read more about Android versioning at https://developer.android.com/studio/publish/versioning

In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.

Read more about iOS versioning at


version: 1.0.0+1

sdk: ">=2.12.0 <3.0.0"

Dependencies specify other packages that your package needs in order to work.

To automatically upgrade your package dependencies to the latest versions

consider running flutter pub upgrade --major-versions. Alternatively,

dependencies can be manually updated by changing the version numbers below to

the latest version available on pub.dev. To see which dependencies have newer

versions available, run flutter pub outdated.

sdk: flutter

webview_flutter: ^2.3.0
flutter_native_splash: ^1.3.1

flutter_launcher_icons: "^0.9.2"

android: "launcher_icon"
ios: trues
image_path: "assets/App_icon_HALL_v1_512x512.png"

The following adds the Cupertino Icons font to your application.

Use with the CupertinoIcons class for iOS style icons.

cupertino_icons: ^1.0.2

flutter_native_splash: ^1.3.1

sdk: flutter

The "flutter_lints" package below contains a set of recommended lints to

encourage good coding practices. The lint set provided by the package is

activated in the analysis_options.yaml file located at the root of your

package. See that file for information about deactivating specific lint

rules and activating additional ones.

flutter_lints: ^1.0.0

For information on the generic Dart part of this file, see the

following page: https://dart.dev/tools/pub/pubspec

The following section is specific to Flutter.


The following line ensures that the Material Icons font is

included with your application, so that you can use the icons in

the material Icons class.

uses-material-design: true

To add assets to your application, add an assets section, like this:


- images/a_dot_burr.jpeg

- images/a_dot_ham.jpeg

An image asset can refer to one or more resolution-specific "variants", see


For details regarding adding assets from package dependencies, see


To add custom fonts to your application, add a fonts section here,

in this "flutter" section. Each entry in this list should have a

"family" key with the font family name, and a "fonts" key with a

list giving the asset and other descriptors for the font. For



- family: Schyler


- asset: fonts/Schyler-Regular.ttf

- asset: fonts/Schyler-Italic.ttf

style: italic

- family: Trajan Pro


- asset: fonts/TrajanPro.ttf

- asset: fonts/TrajanPro_Bold.ttf

weight: 700


For details regarding fonts from package dependencies,

see https://flutter.dev/custom-fonts/#from-packages


color or background_image is the only required parameter. Use color to set the background

of your splash

this is the error it gives "C:\Users\mbuckley\AndroidStudioProjects\HALL_Web_App>"C:\Users\mbuckley\OneDrive - Ha
ll Wines LLC\Documents\Development\flutter\flutter\bin\flutter.bat" --no-color pub ge
Error on line 39, column 5 of pubspec.yaml: A dependency may only have one source.

39 │ ┌ android: "launcher_icon"
40 │ │ ios: trues
41 │ │ image_path: "assets/App_icon_HALL_v1_512x512.png"
42 │ │
43 │ │
44 │ │
45 │ │ # The following adds the Cupertino Icons font to your application.
46 │ │ # Use with the CupertinoIcons class for iOS style icons.
47 │ │ cupertino_icons: ^1.0.2
│ └──^

Running "flutter pub get" in HALL_Web_App...
pub get failed (65; ╵)
Gareth Murfin
hi guys im trying ot get some code to compile it uses ObjectDB, but it says no such method db.open(); and db.tidy(); any ideas?
Adrián Medina
Hi there! Does anyone know how is possible to get the Bluetooth id or mac address or whatever that is unique for identifier devices purposes? I'm getting the UUID of the device with device_info/device_info.dart but my client wants to know the BT MAC Address. For BT I'm using package:flutter_blue/flutter_blue.dart