Flutter Heroes
25.6K subscribers
272 photos
2 videos
31.1K links
Download Telegram
GGroup: Rest Client for Post request
Hello All, I am working on Flutter rest client, where i am able to get the response from the server. But when I was trying to post the data over the server it is not working properly. Postman gives correct output if the request is in the raw form while form-data giving wrong output.

Submitted May 30, 2018 at 10:59AM by sumeet kasar
via Flutter Dev https://ift.tt/2IYz4Mk
GGroup: bottomNavigationBar keeps rebuilding multiple times when calling Navigator.pushNamed inside tab
I have a problem with the structure/design of Flutter project. At the moment structure looks like this: Homepage with bottomNavigationBar with multiple tabs, each tab is StatefulWidget and contains some heavy processing (remote API calls and data display). In case I call Navigator.pushNamed

Submitted May 30, 2018 at 01:54PM by Andrew
via Flutter Dev https://ift.tt/2LF7TYF
GGroup: Switching ringing modes
Can I switch ringing modes of the ios/android device programmatically using flutter?

Submitted May 30, 2018 at 03:18PM by Ritu Bala
via Flutter Dev https://ift.tt/2xs53n0
GGroup: Social login sdk
Hi there, does google plan to release social login (also stay logged in) for social networks ( facebook, google, twitter, instagram etc.) without being have to use firebase ? All I can find is some weird workaround like using webviews and such. Not nice also look unprofessional. Are we going

Submitted May 30, 2018 at 05:32PM by Yavuz Günay
via Flutter Dev https://ift.tt/2IZdzuV
Reddit: How to put themes in a separate file?
I am quite new to Flutter so this is a pretty "duh" question. What I would like to do is have a custom file to manage my themes instead of sticking all my themes in the main.dart file.Currently, I have this as my theme and it works great:
final ThemeData _defaultTheme = _buildDefaultTheme(); ThemeData _buildDefaultTheme() { final ThemeData base = ThemeData.light(); return base.copyWith( textTheme: _buildDefaultTextTheme(base.textTheme), primaryTextTheme: _buildDefaultTextTheme(base.primaryTextTheme), accentTextTheme: _buildDefaultTextTheme(base.accentTextTheme), ); } TextTheme _buildDefaultTextTheme(TextTheme base) { return base.copyWith( headline: base.headline.copyWith( fontWeight: FontWeight.w500, ), title: base.title.copyWith( color: Colors.black, fontWeight: FontWeight.w700, fontSize: 30.0, ), caption: base.caption.copyWith( fontWeight: FontWeight.w400, fontSize: 14.0, ), body2: base.body2.copyWith( fontWeight: FontWeight.w500, fontSize: 16.0, ), ); } 
Unfortunately, when I try and put it into a themes.dart file and then "import 'themes.dart';", Flutter can't find _defaultTheme. What is the correct way of referencing theme file from another file? Thanks!

Submitted May 30, 2018 at 06:31PM by gamelaunchplatform
via reddit https://ift.tt/2IYHCmq
Reddit: Effective Dart -- guidelines updated for Dart 2
https://ift.tt/2wSwYI8

Submitted May 30, 2018 at 05:59PM by Darkglow666
via reddit https://ift.tt/2sqSbaL
Reddit: Using Flutter to create apps intended for a Corporate Owned Single Use (COSU) device?
https://ift.tt/2LLlJcj

Submitted May 30, 2018 at 10:23PM by AchillesFoundation
via reddit https://ift.tt/2JkaMjl
Reddit: Develop for iOS on PC
Is is possible to develop an iOS device app and test it on PC?Is this where Emulators/Simulators come into play?What are the pros and cons?

Submitted May 31, 2018 at 01:55AM by christianbear1221
via reddit https://ift.tt/2J0ISWg
GGroup: rstp/rtmp video player?
Hi. I found flutter video_player based on AVPlayer in IOS, which does not support rtsp url. Can anyone help me know how to play a video with format like 'rstp/rtmp' in flutter?

Submitted May 31, 2018 at 11:08AM by thehegeo...@gmail.com
via Flutter Dev https://ift.tt/2xsduPd
GGroup: Sending Form Data to Email
Hi there, I would like to create a contact form and would like to know: How to send data from a contact form to my email? Is there any working exemple? thank you.

Submitted May 31, 2018 at 12:51PM by J M
via Flutter Dev https://ift.tt/2L7s1lg
GGroup: Without user interaction how to navigate a second page?
Hi, Without using swipe, ontap, oppressed, and gesture how to navigate a second page? I have a main.dart (MyHomePage) and I have another 2 page as second.dart and third.dart. In main.dart I have to load json data using Future. Based on the data I need to navigate user automatically to

Submitted May 31, 2018 at 01:26PM by Niyazi Toros
via Flutter Dev https://ift.tt/2LNvpTw
GGroup: Sharing code on iOS, Android and Web
Hello, I'm not sure if it is a Dart or a Flutter question, so I try it here first :-) I want to share my Dart code for Flutter and for a Dart-Web app, like https://ift.tt/2G6VdqZ But I have problems to get the web app running :-(

Submitted May 31, 2018 at 01:36PM by Ralph Bergmann
via Flutter Dev https://ift.tt/2szW7q3
GGroup: Navigate to new screen with MaterialPageRoute, disable swipe from left to right to return
Hi, I have the Navigator to open a new screen with MaterialPageRoute. Everything is working as expected. From the new screen you can use Navigator.pop to return to the previous screen, but you can also swipe from left to right. I would like to turn off the swipe from left to right. Is that

Submitted May 31, 2018 at 02:52PM by Marc Andrew
via Flutter Dev https://ift.tt/2L5D8Li