Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
GGroup: App not running on iPhone Simulator
I'm looking at Flutter for the first time today. I am using just the basic demo code you get when you create a new project. I can run the app fine on Android emulator and on a physical Android device, no problems. However it is not working on the iPhone simulator. The app is created and installed

Submitted March 30, 2018 at 08:22PM by Terry Diederich
via Flutter Dev https://ift.tt/2uzpSeO
GGroup: How to store a Auth Token?
I am working on an app that needs to login via an API. Basically I present a login screen, submit to an API and get an auth token back. That auth token needs to be sent with all subsequent requests. If the http service returns a 403 then that means the auth token has expired and I need to submit

Submitted March 30, 2018 at 10:34PM by Mike Roosa
via Flutter Dev https://ift.tt/2uA8p5H
GGroup: Texture Widget & OpenGL
Hello, I am looking for help how to render OpenGL via Texture widget on Android. I managed to render it on iOS. It works well. But completely stuck on Android implementation. Are there any examples or hints how to display OpenGL framebuffer/texture with SurfaceTexture? (heh, except android

Submitted March 31, 2018 at 05:25AM by sapry...@gmail.com
via Flutter Dev https://ift.tt/2E8FCVj
Reddit: Why is my app not displaying an AppBar?
I have built an app with the MVP design pattern and for some reason, I can't get the appbar to display on top of my app. The app just displays a list of Cardviews based on data that is pulled from an API. The source of the app can be found here. When you launch the app, it just shows the list of Cardviews without any background nor an appbar up top. This is what the app looks like currently.In my main.dart file, I create a new instance of MoviesPage() which is the main layout for the app that holds the listview. The `main.dart file looks like this:
void main() { Injector.configure(Flavor.PROD); runApp(new MyApp()); } class MyApp extends StatelessWidget { // This widget is the root of your application. @override Widget build(BuildContext context) { return new MaterialApp( theme: new ThemeData( primarySwatch: Colors.green, primaryColor: Colors.deepOrange ), title: 'Flutter Demo', home: new MovieList(), ); } } 
In addition, this is what my MoviesPage dart file looks like:
class MoviesPage extends StatelessWidget { @override Widget build(BuildContext context) { return new Scaffold( appBar: new AppBar( title: new Text("Movies"), ), body: new MovieList(), ); } } 
As you can see, I setup an appbar in the MoviesPage() class, but it's not displaying in the app for some reason. Does anyone have any ideas on how to remedy this issue?

Submitted March 31, 2018 at 03:23AM by rakesh11123
via reddit https://ift.tt/2uwniWY
Reddit: Image manipulation?
At a high-level, how would one go about loading a photo, manually tweak the image at the pixel level, and save the photo? Or is this more of a Dart question than a Flutter question?

Submitted March 31, 2018 at 09:18AM by who1234567890
via reddit https://ift.tt/2IgqR5q
Reddit: Architecture for Flutter App?
I'm starting to write an App with Flutter. I have been doing researches around for what architecture to use. I found the most common one is MVP (Model View Presenter). Also, I found a great sample app using Redux.I'm kinda not sure what to use.What do you guys' opinion on this?*PS: I'm sorry if similar questions have been asked.

Submitted March 31, 2018 at 05:39PM by harry7cao
via reddit https://ift.tt/2pYNIMn
Reddit: An MVC approach to Flutter
https://ift.tt/2IfENMU

Submitted March 31, 2018 at 11:15PM by Purple_Pizzazz
via reddit https://ift.tt/2GmxxTb
Reddit: Pull Device info
Hello. I have been curious about converting one of the company's apps I work for. In order to use our app, we require a device Id, model, platform, etc. Does anyone know if I could still pull device information within the app using flutter? Thank you so much

Submitted April 01, 2018 at 07:45AM by engadgetnerd
via reddit https://ift.tt/2GobffB
Reddit: Where to put business logic?
Where do you put business logic in a Flutter app? I see several examples of how to display a form of data, or list of items, but not an app that contains a lot of logic. I did see a YT video where a Flutter mobile-app shared "80%" of its code with an AngularDart web-app, which I assume was the business logic. Or is Fluttter mostly for doing UI programs?

Submitted April 01, 2018 at 07:15PM by who1234567890
via reddit https://ift.tt/2GpcGdJ
GGroup: Flutter on iOS crashes when buit with fastlane.
Problem is s stated in subject. I have no why. Works fine with flutter run and flutter build then xcode archive, but build_ios_app in fastlane crashes when the app is opened. Fastfile: update_fastlane default_platform(:ios) platform :ios do desc "Push a new release to TestFlight" lane

Submitted April 01, 2018 at 08:12PM by Benjamin Misell
via Flutter Dev https://ift.tt/2GsaVkg