Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on Flutter Dev Google group:

ui to code
hi there ! i want to know how to create these boxes(where to do text)inside the raisedbuttons like there is this big box in the center of the interface which has those buttons and eash time i click on one of them ,a new box come out inside , please know that i am a bigginer i appreciate your help

May 06, 2020 at 04:16AM by HAMMA RAHMA
https://ift.tt/2WAdBkO
New post on /r/flutterdev subreddit:

Help Post: Simple and practical Example for Theme switching in Flutter.
So the story is :I am creating simple tips snippets every day for the last 31 days for my 100 days of Flutter tips.https://github.com/erluxman/awesomefluttertipsOn 31st day I made an example for theme switching. And I had to make a tradeoff between choosing simple native examples without third party libraries (like RxDart, Provider) or not. I tried using Inherited Widget to pass the value down the tree but we still need another way to actually change the value that will be passed down.So I opted in for Stateful widget as my thought was the theme property of Material or Cupertino App is the main player in dynamic theme. And as we usually do not observe the presence of theme variables inside Material/Cupertino App, I made this simple example.https://dartpad.dartlang.org/96008818aaabd0ede2721d6151540f84But my example was defeated or at least not clear about how to change the theme from a different widget (like setting page) as there was no slightest indication of how to access/change the theme of the app from a different widget. u/Kounex also pointed out the same issues with examples.Now what I needed help on was, as I am creating this list, I want them to be ready for run out of the box like being able to run on dartpad / codepen which do not support external libraries yet. Any simple Idea you guys have about how to implement Theme switching in simple but practical way?Thanks a lot in advance.

May 06, 2020 at 04:32AM by erluxman
https://ift.tt/2YBgFjg
New post on /r/flutterdev subreddit:

Apple pay button
Has anyone implemented a widget for an Apple Pay button in Flutter that matches the brand guidelines? If so is there an example you can link to?https://developer.apple.com/design/human-interface-guidelines/apple-pay/overview/buttons-and-marks/#button-typesSeems like Apple won't approve an app if the guidelines aren't followed correctly.

May 06, 2020 at 04:16AM by G8trGuy
https://ift.tt/2SGAbau
New post on /r/flutterdev subreddit:

About class and widgets
class ReusableCard extends StatelessWidget { final Color colour; final Widget cardChild; ReusableCard({@required this.colour, this.cardChild}); u/override Widget build(BuildContext context) { return Container( child: cardChild, margin: EdgeInsets.all(15), decoration: BoxDecoration( color: colour, borderRadius:BorderRadius.circular(10), ), ); } } 
​I used it as Expanded(child: ResuableCard(colour:Colors.blue))​( ResuableCard(colour:Colors.blue)) -->does this mean creating object from Reusable Card class and how does that build function gets invoked and returns expanded with a container?

May 06, 2020 at 04:06AM by milanpoudel
https://ift.tt/3fodq4P
New post on /r/flutterdev subreddit:

Hello guys I've just begun my flutter journey with this simple Covid-19 tracker application.OPEN FOR SUGGESTION n CONTRIBUTION 😀
ScreenshotsGit RepoDownload

May 06, 2020 at 04:45AM by thasachet
https://ift.tt/35xSwvE
New post on Flutter Dev Google group:

UFMP audio sample for Flutter
Hi everyone, I would like to share UFMP
New post on /r/flutterdev subreddit:

New tutorial on Flutter.dev: Understanding constraints
https://ift.tt/3b8ug4f

May 06, 2020 at 10:14AM by Elixane
https://ift.tt/3fqdQYs
New post on /r/flutterdev subreddit:

A internal window library for Flutter based on https://ift.tt/2rUyNAJ (by Rody Davis)
https://ift.tt/2L4uwqv

May 06, 2020 at 10:12AM by Elixane
https://ift.tt/2L1xMTB
New post on /r/flutterdev subreddit:

New tutorial on Flutter.dev: Understanding constraints
https://ift.tt/3b8ug4f

May 06, 2020 at 10:14AM by Elixane
https://ift.tt/3fqdQYs
New post on Flutter Dev Google group:

Not getting debug output in simulator
I am following appbrewery online course. Tried sample flutter app, but still loading longer time. attached screen shot for references. please sort out my problem.

May 06, 2020 at 12:13PM by Siva M
https://ift.tt/2Wvifkd
New post on /r/flutterdev subreddit:

How to simply handle login and have access to user information ready.
I know this is a fairly opinionated question but I want to implement a simple login where I can have the user id stored in some kind of state/local storage (if that makes sense?) and ready to use for CRUD operations.Thanks in advance.p.s the there will be a backend but I'd rather not implement my own signup/login methods there.

May 06, 2020 at 11:41AM by ellertfinnbogi
https://ift.tt/2L1QYAD
New post on /r/flutterdev subreddit:

Routes - named vs unnamed
Hello,I am trying to understand the advantages and disadvantages of named routes vs directly pushing the Widget to Navigator. In the cookbook, I only get information about how to, not why/why not.In my opinion, pushing Widget directly to Navigator is a better, simpler, and safer option even for a large application.- You don't need to create a centralized brain that knows everything about the app.- Passing data is very easy no need to do additional mapping and thanks to required arguments if something changes you can easily identify things needed to be updated.- Parents know how to instantiate their children.The only argument I see for named routes is if I consider Flutter for web, where I would like to see something like "/profile/description" in the address bar.Perhaps I didn't consider deep links, but again it depends on the implementation.

May 06, 2020 at 01:16PM by chrisrutkowski
https://ift.tt/2YIpQ1t
New post on Flutter Dev Google group:

Index error.. Don't know what is causing it.
Hi guys, I was actually trying out role based authorization so i changed some code. But now everything seems to be broken. Please help me solve this. I don't know what is causing this. Below is the complete error code... E/flutter (31739): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled

May 06, 2020 at 02:48PM by Souvik Dutta
https://ift.tt/35DUmuI
New post on /r/flutterdev subreddit:

launch contact using url launcher/ or flutter intent
dose url launcher/ or flutter intent support adding contact with extra details as parameter

May 06, 2020 at 04:10PM by Kotaibaw
https://ift.tt/2WbWabz
New tweet from FlutterDev:

It's here! 🎉Flutter 1.17

Metal support for faster iOS performance.
New Material components.
New network tracking tooling, and more.

What are you going to build? #FlutterGoodNewsWednesday

Get more here → https://t.co/8HWLN9DA0t pic.twitter.com/AgKLPSDsTI— Flutter (@FlutterDev) May 6, 2020

May 06, 2020 at 05:15PM
http://twitter.com/FlutterDev/status/1258052802095403008