Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on /r/flutterdev subreddit:

Flutter Startup Time
Hi, I am currently developing my first big flutter app and I don’t know when it started, but at some point the app startup time just was pretty slow with ≈8 seconds on my IPhone.So I just wanted to hear some opinions about that: is that a common issue, are there some ways of improving the startup time or any best practices?Or in a more general sense, is there something you learned about good performing apps that you wished you knew when you started developing with flutter?For example I tried for a long time to integrate a ListView.builder with a few thousand items and with shrinkwrap enabled until I stumbled over a video explaining that shrinkwrapping the listview makes all the items render at once…I searched for days for a solution yet it was so easy to fix..Did you have such learnings as well?

February 26, 2022 at 01:41PM by LivingAd3183
https://ift.tt/WSOwGXK
New post on /r/flutterdev subreddit:

Flutter web - initial loading
hey, flutter web at current state is already amazing, the only annoying part to me is this initial load time (3s to 8s, to start canvaskit or load dart.main.js), do you think this will be possible to fix ever? Given that behind the scenes flutter is a graphic render engine and not an html page that can load instantly.

February 26, 2022 at 01:25PM by Apokaliptor
https://ift.tt/moC8XfM
New post on /r/flutterdev subreddit:

unknown properties
I am new to the Reactnative and flutter freelancing but I want to ask what do you do if the client asks about a property that you don't know about or anew function that you dont know its logic....I know you search stackoverflow or google it but how you search about something that you dont know about it how you explian your view to the one you ask even you dont know the name of the property its you search about something vague ....how do you face this uncertainty in that carrer ......forgive for my fear and confusion of uncertainty

February 26, 2022 at 04:43PM by engkhaledeisa
https://ift.tt/M2eHKu6
New post on /r/flutterdev subreddit:

dependencies in pubspec.yaml
If a package such as flame_rive depends on flame, is there an advantage to also specifying flame in the dependencies. For example, should I do this:yaml dependencies: flutter: sdk: flutter flame_rive: ^1.0.0 flame: ^1.0.0Or, is it okay to delete the line that has flame and just do this:yaml dependencies: flutter: sdk: flutter flame_rive: ^1.0.0I notice that the auto-import of VS Code may not be detecting some of the flame packages when I do CTRL-.

February 26, 2022 at 07:29PM by codetricity
https://ift.tt/WBsbKyf
New post on /r/flutterdev subreddit:

Help needed: android scoped storage directory listing problem
I'm using https://pub.dev/packages/shared_storage and I'm trying to import files from SD memory into app memory. But it's impossible for me to make a Directory (dart:io) out of the Uri object.Main problem: E/flutter (20521): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Unsupported operation: Cannot extract a file path from a content URICode:
final selectedUriDir = openDocumentTree().then((uri) { debugPrint('Test -- ${uri}'); _listDir(uri); }); ... Future<bool> _listDir(Uri path) async { final dir = Directory(path.toFilePath(windows: false)); await for (final entity in dir.list(recursive: true,followLinks: false)) { debugPrint(entity.path); } return true; } 


February 26, 2022 at 09:55PM by luebke0815
https://ift.tt/cLK6kYM
New post on /r/flutterdev subreddit:

When people say flutter gives you control of every pixel, what does that mean exactly?
Wouldn’t this apply to native development as well or is flutter doing something different? It’s confusing to me since with native development you have the most control over the app.

February 26, 2022 at 11:55PM by Necessary1OK
https://ift.tt/Kwvac0k
New post on /r/flutterdev subreddit:

Step-by-step: Using GitHub Workflows to deploy iOS builds to TestFlight
https://ift.tt/a6yqs19

February 27, 2022 at 03:16AM by jorgenpt
https://ift.tt/KY2OBTC
New post on /r/flutterdev subreddit:

Minimalist Guide to Isolates in Dart/Flutter
https://ift.tt/rlFgi40

February 27, 2022 at 11:00AM by iisprey
https://ift.tt/1pCBP8T
New post on /r/flutterdev subreddit:

Modal BottomSheet in Flutter
https://ift.tt/IeQofyq

February 27, 2022 at 12:10PM by SncOne_
https://ift.tt/iYRlIwN
New post on /r/flutterdev subreddit:

Another movies app 😅
Hello everyone, since that networking, controllers are components that we always rewrite for each project.I decided to make a small starting point project to show help making development for the next app easier.The app use :Hive as a local database Getx as state management Dio networking library firebase to login/register http mockup adapter to simulate network requestsA video sample here:demo videoSource code can be found here :source codeI would be grateful for any feedback or if anyone have comments about making network requests cleaner or simplifying Controllers/UI connections.

February 27, 2022 at 02:02PM by ElectricalControl376
https://ift.tt/XO7hYfD
New post on /r/flutterdev subreddit:

dart:ui Error whie running
I got error not found 'dart:ui' while trying to run a project on Vscode how can i solve it?

February 27, 2022 at 01:56PM by Original-Reach1298
https://ift.tt/bvTacYZ
New post on /r/flutterdev subreddit:

How to Access Contacts in Flutter Application (Read and Make Phone calls)
https://ift.tt/fyMBsK5

February 27, 2022 at 04:55PM by rrtutors
https://ift.tt/vAfsLCb
New post on /r/flutterdev subreddit:

How can I use Tik Tokers in my app?
Dear Flutter CommunityI am currently working on this app. It's about guessing who has more followers. I want to show ads. I know that it is possible because there is an app called TikDance, which is doing something similar and also shows ads. I have already tried reaching out to the creators of TikDance for legal advice but they did not respond. The images get fetched at runtime. I thought that supplying the image source would be enough but I'm really unsure. Does anyone have a good source showing me what i have to write into my app to secure me legally?thx in advance

February 27, 2022 at 06:44PM by LurchiDurchi
https://ift.tt/5IRCgUY
New post on /r/flutterdev subreddit:

Enjoy Rust, a modern language with performance, reliability and productivity, seamlessly with Flutter: flutter_rust_bridge comes with more features and elaborated doc
Link: https://github.com/fzyzcjy/flutter_rust_bridgeLast time, flutter_rust_bridge was still a small project with many rough edges, but now it is much better. Not only does it have much more features, but we even have a small "book" discussing the features, tutorials, and configuration steps in detail.A quick overview of the advantages:Memory-safe: Never need to think about malloc/free.Feature-rich: enums with values, platform-optimized Vec, possibly recursive struct, zero-copy big arrays, Stream (iterator) abstraction, error (Result) handling, cancellable tasks, concurrency control, and more. See full features here.Async programming: Rust code will never block the Flutter. Call Rust naturally from Flutter's main isolate (thread).Lightweight: This is not a huge framework that includes everything, so you are free to use your favorite Flutter and Rust libraries.Multi-platform: Android, iOS, Windows, Linux, MacOS (Web coming soon)Easy to code-review & convince yourself: This package simply simulates how humans write boilerplate code. If you want to convince yourself (or your team) that it is safe, there is not much code to look at. No magic at all! (More about safety concerns.)Fast: It is only a thin (though feature-rich) wrapper, without overhead such as protobuf serialization, thus performant. (More benchmarks later)Pure-Dart compatible: Despite the name, this package is 100% compatible with pure Dart.I want to say thanks to all our contributors: Desdaemon, SecondFlight, AlienKevin, surban, Unoqwy, antonok-edm, efc-mw, valeth, trobanga, Michael-F-Bryan, bus710, rustui, and the contributions can be seen in the changelog. Special thanks for Desdaemon, who has been contributing a lot of PRs, such as enum structs, options (nullablity), many bugfixs, and documentation overhaul.P.S. Cross-posted from https://www.reddit.com/r/rust/comments/swrbyv/write_ui_using_flutter_a_crossplatform_hotreload/ since this library relates to both Flutter and Rust

February 28, 2022 at 04:17AM by fzyzcjy
https://ift.tt/xfnMLQ0
New post on /r/flutterdev subreddit:

Need Sample repositories that build on vvery_good_cli.
Does anyone know some good flutter sample/open-source projects/repositories that build on very_good_cli?I working on my flutter packages where I need to study some common patterns and standard structure of projects.Since I'm new to very_good_cli so I don't know about its structure and it's also different to find on GitHub.So if anyone knows about some repo so please share I need at least 10 to 15.

February 28, 2022 at 11:07AM by Prashant_4200
https://ift.tt/2bp5lRx