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

Can I create a package using other packages?
Hey! I’m quite new to Flutter.I used someone’s carousel widget package and someone else’s sparkline graph package to make this really neat carousel graph with some extra features on top of what each package provides. I was thinking about making it into a public package.Is that a good idea or can it frowned upon because I used other packages?

April 06, 2020 at 07:24PM by cajuhbr
https://ift.tt/2yCaH6R
New post on /r/flutterdev subreddit:

(Beginner) I'm trying to make a responsive login page without the keyboard hiding the formfield
I'm trying to build a login page which is responsive accross different smartphones.The page consists of: Scaffold => Center => Column => (Logo,formfield,send button)The column main axis alignment is set to center.I'm currently trying to expand the remaining space between the logo and the formfield.The method I've choose is Expanded(child:SizedBox())​This is working fine, but now the keyboard is hiding the formfield when the user is writing.The solution I've seen online is to wrap everything in a SingleChildScrollView, but this doesn't work with the Expanded widgetWhat should I do ?​I'm using logical pixels for sizing everything (text,sizedbox,container ..).I don't know if I should use MediaQuery.size.width * factor (or height), since I've seen some people using this method.

April 06, 2020 at 07:48PM by Kadarach
https://ift.tt/2ULnFry
New post on /r/flutterdev subreddit:

Performance
Apologies if this has been posted before, but I'm really struggling getting the flutter environment set up.My machine is Win 7, 8GB (3.4ghz) RAM, and plenty disk space. There are other things running on the box, but it's not struggling.Setup is Android Studio, Flutter, VS Code - all latest versions at the time of writing.Environment setup and working at basics, bit I can't even spin up the sample apps. Everything just seems to hang and when I look in task manager AS is chewing away at 0.8GB, Java 0.5GB, Dart 0.3GB. Are these normal numbers? It just seema to be kicking the shot out of the machine and getting nowhere.Anybody else had similar trials?

April 06, 2020 at 07:36PM by H0twax
https://ift.tt/39TGugN
New tweet from FlutterDev:

🙅‍♀️Prevent users from interacting with buttons!

Sudden UI changes could result in the user clicking something on accident. Use IgnorePointer to disable interactive elements in a subtree to prevent accidental interactions.

For more #WidgetoftheWeek → https://t.co/9vHbRBFml1 pic.twitter.com/dSice0T7Cc— Flutter (@FlutterDev) April 6, 2020

April 06, 2020 at 08:17PM
http://twitter.com/FlutterDev/status/1247226974176567297
New post on Flutter Dev Google group:

Uploading an image larger than 1mb
When I upload an image larger than 1mb this message appears: Alloc concurrent mark sweep GC freed 3 (72B) AllocSpace objects, 0 (0B) LOS objects, 39% free, 2MB / 3MB, and App Crash, and after an application crash and close.

April 06, 2020 at 08:53PM by Zau Bunga Maiano
https://ift.tt/39MbwqD
New post on /r/flutterdev subreddit:

Hello! Does anyone have a working example of using the bloc pattern with hive db?
I am currently building a mobile app with flutter and wanted to use hive as a local database and for state management use the bloc pattern. Any good working/code examples of how to use bloc with hive db? Thanks in advance!

April 06, 2020 at 09:34PM by thekookysurfer
https://ift.tt/3bQb8sy
New post on /r/flutterdev subreddit:

media_break_points: Conditionally set values based on screen width
![Example Dreakpoints](https://imgur.com/a/OXx8SZ5)Set values depending on screen width breakpoints , using the same breakpoints as bootstrap xs, sm,md,lg,xl etc to know which values to set.https://pub.dev/packages/media_break_pointsvery useful when you want to support multiple form factors and want to reduce the amount of manual screen size checking using MediaQuery

April 06, 2020 at 11:23PM by saxykeyz
https://ift.tt/3aPIWGj
New post on /r/flutterdev subreddit:

What are my options for creating a beautiful video playing experience? Already using Chewie but it doesn't feel like enough.
So as of now I am currently using a very barebones version of the videoplayer/chewie combo. While it's definitely really nice, our main business is OTT Video and I feel like it's important that we have a really "sexy" clean finish to how it looks. I am so unfamiliar with how to make this happen. The default player really isn't cutting it. I am open to creating my own widgets to do this I just don't know where to start.Does anyone have any recs?

April 07, 2020 at 02:54AM by asavageant
https://ift.tt/2wiGwAQ
New post on /r/flutterdev subreddit:

How to control dialog from provider?
I'm very new to Flutter. I'm trying to learn the Dart syntax and Flutter structure and conventions. It's quite fun. I'm JS developer, react, react native, node.js base. So, I think I'm used to the declarative structure and design.I'm building a small toy project using the provider. Most global variable and state is in the global state and providing to the whole app. Actually, one of my problems is to open a dialog. I know how to open a dialog with showDialog() method. But, I want to open it by state of provider. eg. isOpenCustomDialog state in the provider.``` Widget build(BuildContext context) { var isOpenCustomDialog = Provider.of<Store>(context).isOpenCustomDialog;// it throws error if(isOpenCustomDialog) showDialog( ... )return ... } ```I tried several ways, but no gains and I'd like to know what is the best convention for this purpose.

April 07, 2020 at 03:47AM by moondaddi80
https://ift.tt/34ikPgX
New post on /r/flutterdev subreddit:

Flutter / Dart auto formatting in VSCODE
I am running against an productivity issue in VSCODE, I want to 'collapse' widgets to improve readability. Collapsing a widget goes from this:Container (
height: 80,
width: 80,
), // Containerto this:Container( // ContainerThis all works as expected, please note, the last // Container is automaticlly added by VSCODE. To improve my productivity I want to comment the collapsed widgets to easily find them like this:Container ( // Background container 80x80
height: 80,
width: 80,
), // ContainerWhich works, when I collapse the widget it looks like:Container( // Background container 80x80 // Container​The problem arises when I auto reformat the code, my comment is getting pushed to the next line and isn't visible when the widget is collapsed:Container (
// Background container 80x80
height: 80,
width: 80,
), // ContainerCollapsed:Container( // ContainerTLDR:How do i excluded comments from being auto formatted by dart/flutter plugin in VSCODE?

April 07, 2020 at 06:13AM by krimpenrik
https://ift.tt/39KOSz3
New post on Flutter Dev Google group:

How to get the following effect in flutter?
Hi!!, If you have used android or Google Play books then you might have seen how the elements of a listview grow in size more than the others when they reach the centre of the screen. I was trying to get that same effect. How do I do that? I want every elements to grow (excluding animations)

April 07, 2020 at 06:44AM by Souvik Dutta
https://ift.tt/2x8uXwA
New post on /r/flutterdev subreddit:

new changes added to corova_virus_app. Added sort by today cases/critical cases Added usa cases per state.
https://ift.tt/2JOjJjm

April 07, 2020 at 07:12AM by Kotaibaw
https://ift.tt/39PeqL6
New post on Flutter Dev Google group:

Erreur de création d'un projet flutter à partir de android studio
Salut tout le monde. Lors de la création d'un projet Flutter avec android studio je reçois une erreur à la fin du création <
New post on /r/flutterdev subreddit:

My flutter app shows a page that does not exist on app start
I'm a flutter and dart noob, after being furloughed from my job due to COVID-19 I thought it was a good time to upskill myself. I've got a small habit tracker app almost completed, however, when I run the app for the first time it shows a screen with just an app bar and FAB neither of which have the correct colour scheme applied. When I do a hot restart it then shows my app correctly. Those of you who have a more keen eye than me can find the project here.

April 07, 2020 at 10:04AM by _Kaizer
https://ift.tt/34lhe1M
New post on /r/flutterdev subreddit:

Flutter's Shop App Tutorial( 5 Day/90 Days Challenge)
Flutter Shop's App is my 5th App in 100 days challenge. In this application, I had learnt about Routes, Grid View builder and learnt how to use many screens in one go. Pls, star/fork to keep updated about my next development. This r/FlutterDev community is one of the most main motivators to keep learn and push my boundaries to learn about Flutter and develop applications. Thankshttps://github.com/irahulcse/A-Complete-Guide-To-Flutter#005---flutter_shops_app

April 07, 2020 at 09:40AM by flutterboxinc
https://ift.tt/2x8EJ1L
New post on Flutter Dev Google group:

Picture Viewer (zoom, draggable, clickable)
Morning All you Flutter Gurus Wondered if anyone had any ideas, concepts or aware of any packages which might help us with something, We are doing a mapping app, which we have built - and need to show a floorplan with various markers on it. So for example, if you click on a house on the map, it

April 07, 2020 at 10:02AM by Matt Hiscock
https://ift.tt/3aR9w1D
New post on /r/flutterdev subreddit:

Question For Developers.
Would Laravel(PHP) be good enough for backend on a flutter app? Any examples, advice on scaleability, pros and cons, ect. Thanks in advance for any helpful response.

April 07, 2020 at 11:30AM by C0deandC0mfy
https://ift.tt/2Xg4bNj
New post on /r/flutterdev subreddit:

Diaporama - A (swiping) Reddit client made in Flutter
Hi, I've been working for some time on a Reddit client as a side project, and I've reached a state where i'm pretty satisfied with the usability. So now, i'm looking for some feedback/testing (and see if it would be interesting to publish it).It's of course open source, you can find it on my githubThe idea is simple, you load your content source (e.g r/All, Front page, or you can create one) and all the threads will be displayed using a PageView, so you can swipe to navigate.I've implemented what seemed like basic actions for a Reddit client, like votes, share, comment, .. I've put a list of features on the Readme if you're interested.I'll do a huge refactor as my next step, as I'm pretty much okay with the features that i wanted to implement for now.If anyone want to take a look and give some feedback about the app/the code, it would be really nice :)

April 07, 2020 at 12:04PM by Gloumy
https://ift.tt/2V23c0s
New post on /r/flutterdev subreddit:

Nearby Users
Hi.This is my first time using flutter.I am trying to develop an app that sends an help request to all the users that are nearby. How can I implement it?

April 07, 2020 at 12:35PM by mr_mercury08
https://ift.tt/2xb0BcH