Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Johannes Milke
@JohannesMilke_twitter
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
@Pante
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
@JohannesMilke_twitter
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
@RandalSchwartz
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
@JohannesMilke_twitter
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
@spiritandwine_twitter
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>

(package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
<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
seriCodes
@seriCodes
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:
https://stackoverflow.com/questions/55180468/how-do-i-debug-a-flutter-app-in-vscode-if-the-launch-program-is-nested-deep-insi

Thanks.

Ghost
@ghost~6187be106da03739848a0162
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?
*run
Rony Joseph
@ronyjoseph007:matrix.org
[m]
cam anyone help to solve this err
i am stuck here, for 2 days
mcfly
@mcflyDev_twitter
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.

https://github.com/Apparence-io/pal-widgets

Rony Joseph
@ronyjoseph007:matrix.org
[m]
in my pubsec file,cloustore package is latest
PRIYAM ARYA
@priyamarya089
Hi
can someone help me for this issue Baseflow/flutter_cached_network_image#336
seeking for contributors
and support with likes)))
Mark Buckley
@spiritandwine_twitter
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

https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html

version: 1.0.0+1

environment:
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.

dependencies:
flutter:
sdk: flutter

webview_flutter: ^2.3.0
flutter_native_splash: ^1.3.1

flutter_launcher_icons: "^0.9.2"

flutter_icons:
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

dev_dependencies:
flutter_native_splash: ^1.3.1

flutter_test:
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.

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:

assets:

- images/a_dot_burr.jpeg

- images/a_dot_ham.jpeg

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

https://flutter.dev/assets-and-images/#resolution-aware.

For details regarding adding assets from package dependencies, see

https://flutter.dev/assets-and-images/#from-packages

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

example:

fonts:

- family: Schyler

fonts:

- asset: fonts/Schyler-Regular.ttf

- asset: fonts/Schyler-Italic.ttf

style: italic

- family: Trajan Pro

fonts:

- 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

flutter_native_splash:

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
t
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
@amigax
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
@Adrianns
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
Johannes Milke
@JohannesMilke_twitter
Hello! I have created another video about "Flutter Tutorial - How to Add a Favicon [2021] Flutter Web App Icon " https://www.youtube.com/watch?v=Rf5bcE18emM alt
Botan
@botanium_twitter
Hello, dears. is there a way I can access the available devices on Linux and get their name or any other property from Flutter? I want to be able to read the device name and other information for example network data or HDD read and write data and so on.
Is this package does the job? https://pub.dev/packages/dbus
Botan
@botanium_twitter
This channel is dead
mgood7123
@mgood7123
oof

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

https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html

version: 1.0.0+1

environment:
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.

dependencies:
flutter:
sdk: flutter

webview_flutter: ^2.3.0
flutter_native_splash: ^1.3.1

flutter_launcher_icons: "^0.9.2"

flutter_icons:
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

dev_dependencies:
flutter_native_splash: ^1.3.1

flutter_test:
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.

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:

assets:

- images/a_dot_burr.jpeg

- images/a_dot_ham.jpeg

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

https://flutter.dev/assets-and-images/#resolution-aware.

For details regarding adding assets from package dependencies, see

https://flutter.dev/assets-and-images/#from-packages

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

example:

fonts:

- family: Schyler

fonts:

- asset: fonts/Schyler-Regular.ttf

- asset: fonts/Schyler-Italic.ttf

style: italic

- family: Trajan Pro

fonts:

- asset: fonts/TrajanPro.ttf

- asset: fonts/TrajanPro_Bold.ttf

weight: 70

@spiritandwine_twitter PLEASE USE A PASTE SITE!!!

Botan
@botanium_twitter
Please use Hastebin
also for images you can use imgur
BackSlash Flutter
@backslashflutter
flutter and firebase with bloc.png
Flutter & Firebase Auth in BLoC Pattern | Email, Google and Facebook Login
https://youtu.be/tAX2vR-epyA
Naeem Ahmed
@Naeemchennai
@Naeemchennai
is there is library which i can use along with flutter http to convert my model to json automatically?
i mean body to json?
Johannes Milke
@JohannesMilke_twitter
Hello! I have created another video about "Flutter Tutorial - Preserve Scroll Position In ListView [2021] Page Storage Key" https://www.youtube.com/watch?v=1nxegLe15os alt
Gareth Murfin
@amigax
anyone know why previous here is causing compile error, i just changed pubspec and it broke
state = AsyncValue.loading(
previous: _latestReviews,
);
BackSlash Flutter
@backslashflutter
part 2 login and signup with bloc.png
Flutter & Firebase Auth in BLoC Pattern - Part 2 (Login/Signup and Forgot Password)
https://youtu.be/Wxuq4cgzjCw