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

State management for BottomNavigationBar?
How do you manage the active page for a BottomNavigationBar? Right now I call setState() every time, but as my app grows, it creates more lag since it has to rebuild all the widgets on the tab... Should you use some kind of state management system?​Also I'm not gonna use PageView, it has animations and behaviors that a BottomNavigationBar shouldn't have.

May 10, 2019 at 08:46PM by thisw4y
http://bit.ly/309uNyH
New post on /r/flutterdev subreddit:

Feature Roadmap for charts_flutter?
I use charts_flutter quite a bit, and I was curious if anyone on the Flutter team could talk about whether there's a Feature Roadmap that exists for this package.​It is "feature complete" as far as my use-cases are concerned, but there are some interesting empty sections in the charting examples web page (e.g., Hover Cards) that speak to additional functionality that may or may not be introduced in the future.​https://github.com/google/charts/tree/master/charts_flutter​Any comments would be appreciated. Thanks!

May 10, 2019 at 08:00PM by jupiter_josh
http://bit.ly/2Yqzxyl
New tweet from FlutterDev:

Develop with the Chrome OS and Flutter dream team!

We’re pleased to announce today new features that make Flutter a great way to build Chrome OS apps and Chrome OS a great developer platform to build Flutter apps.

Read here ↓ https://t.co/o5UVgtRwHT— Flutter (@FlutterDev) May 10, 2019

May 10, 2019 at 10:04PM
http://twitter.com/FlutterDev/status/1126940975119704065
New post on /r/flutterdev subreddit:

Looking to explain key.properties information
Can anyone give me some ideas where should I get or obtain the storePassword, the keypassword, the keyalias and the storeFile?storePassword=<password from previous step>keyPassword=<password from previous step>keyAlias=keystoreFile=<location of the key store file, e.g. /Users/<user name>/key.jks>​Thank you,

May 10, 2019 at 10:09PM by victorpur
http://bit.ly/2E11Xr0
New tweet from FlutterDev:

Give your lists some pizzazz with the AnimatedList widget! Use the AnimatedList widget to dynamically animate lists when adding or removing items.

Watch this #WidgetoftheWeek here &rarr; https://t.co/pUwYDSC1Rw pic.twitter.com/JkCGMpRXVi— Flutter (@FlutterDev) May 10, 2019

May 11, 2019 at 12:07AM
http://twitter.com/FlutterDev/status/1126971955251486720
New tweet from FlutterDev:

We had tons of Flutter announcements at #io19 this year. 🎉

Now we're wrapping up! Here’s a summary of all the big news, as well as highlights from the press coverage.

Read it here &darr; https://t.co/zGyrGsPqFC— Flutter (@FlutterDev) May 10, 2019

May 11, 2019 at 01:05AM
http://twitter.com/FlutterDev/status/1126986523616980993
New post on Flutter Dev Google group:

Firebase Phone Auth Bloc tutorial recommendations
Hi, For some reason i’m only able to get a verification code a few times with my test phone number before it stops working. I also can’t seem to send a real code to my phone. When I had all the code in one file it worked so i’m probably doing something wrong. Does anyone have any good Flutter

May 11, 2019 at 02:57AM by Kenton
http://bit.ly/2PZKxPY
New post on /r/flutterdev subreddit:

Do you know any open source flutter app which is made using RxDart & BLoC pattern?
I am new to flutter. Do you know any open source flutter app which is made using RxDart & BLoC pattern?

May 11, 2019 at 03:22AM by vaibhav_2018
http://bit.ly/2Yr5TJj
New post on /r/flutterdev subreddit:

Do StreamBuilders Require InitialData?
StreamBuilders seem to require an InitialData to be set in order to work. However, it should be the case that setting the initial value can be handled within a BLoC. Unfortunately, when I try to initialize data within a BLoC and skip setting initialData on the StreamBuilder, it returns null and throws and error on the StreamBuilder. In the examples I've seen, StreamBuilder is always set with an initial value. I'm curious as to whether this is mandatory.​void main() => runApp(BlocProvider<AppBloc>(bloc: AppBloc(), child: App()));class AppBloc implements BlocBase {
AppProvider appProvider = AppProvider();StreamController<String> appController = StreamController();
Stream get getPage => appController.stream;AppBloc() {//I'm trying to initialize the BLoC data here.
updatePage(appProvider._page);
}void updatePage(String page) {
appProvider.updatePage(page);
appController.sink.add(appProvider._page);
}void dispose() {
appController.close();
}
}class AppProvider {
String _page = window.defaultRouteName ?? "";void updatePage(String page) {
_page = page;
}
}class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
final AppBloc appBloc = BlocProvider.of<AppBloc>(context);
return StreamBuilder(
stream: appBloc.getPage,
initialData: appBloc.appProvider._page,
builder: (context, snapshot) {
print(snapshot.data);
return _widgetForRoute(snapshot.data);
});
}
}​With the code above, if I don't set the initial data in the StreamBuilder, I get the following error.​snapshot.data = nullThe following ArgumentError was thrown building StreamBuilder<dynamic>(dirty, state:_StreamBuilderBaseState<dynamic, AsyncSnapshot<dynamic>>#5409d):Invalid argument(s)​Then the snapshot gets the data and everything works.​Is there a way to avoid the error? I'm thinking that the initialization order is incorrect or I'm not initialize the default BLoC value correctly.

May 11, 2019 at 02:21AM by gamelaunchplatform
http://bit.ly/2vSzhMh
New post on Flutter Dev Google group:

how to find Selected item or item in center in flutter ListView ?
hi. im looking for something like this. [image: Untitled.png] i dont know how get selected or centered item in listView to change its properties. thank you for helping.

May 11, 2019 at 06:10AM by Moeen Kamali
http://bit.ly/2Q0Qyfl
New post on /r/flutterdev subreddit:

How would one run rust from dart?
For ios and android one can use native to call rust. What about web?

May 11, 2019 at 09:51AM by chutiyabehenchod
http://bit.ly/2HkkY8j
New post on /r/flutterdev subreddit:

What's the right State Management tool for flutter ??
I have seen several on my recent research on quest to The chosen state Mgt tool , like Scoped Model ,Bloc and Redux . i'm more interested in a tool with Global State that any widget can plug in to it and consume data. so if have any suggestions help a brother out :)

May 11, 2019 at 11:47AM by Pompidou23
http://bit.ly/2PWL0Tg
New post on /r/flutterdev subreddit:

Yify (YTS) Movie Catalog app made with Flutter
https://github.com/devrnt/movie-catalogRelative big project with the bloc pattern (rxDart) and implementation of a dark-light theme mode.Live in the Play Store: https://play.google.com/store/apps/details?id=com.devrnt.moviecatalogDon't hesitate to contact me if you are having any problems.

May 11, 2019 at 11:14AM by JonasDeVrient
http://bit.ly/2HdSQVF
New post on Flutter Dev Google group:

Flutter Web Error
while running webdev serve following error is showing. PS D:\FlutterWeb\flutter_web-master\examples\hello_world> webdev serve webdev : The term 'webdev' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was

May 11, 2019 at 12:37PM by Kamran Ali
http://bit.ly/2Q17zpJ