New post on /r/flutterdev subreddit:
A few questions about best practices for building an app's authentication
I want to build an app using flutter and was wondering if there was a better way to build an authentication system. I wanted to get things down and planned before I start working on it.Authentication can done using google_sign_in, flutter_facebook_login, and firebase_auth.When the user is signed in or signed up, his data is stored locally using sqlite (as described here: https://pusher.com/tutorials/local-data-flutter). User data is retrieved later whenever required.When an app is opened (after the first sign in/up), while the splash screen displays, we check whether there saved user data. If no, we redirect to the authentication page, else we verify if the data matches what's on the server. If it matches, we display the home page, else, we redirect towards authentication.Does this sound alright?
December 26, 2019 at 03:06PM by Cracin
https://ift.tt/2MuxQfH
A few questions about best practices for building an app's authentication
I want to build an app using flutter and was wondering if there was a better way to build an authentication system. I wanted to get things down and planned before I start working on it.Authentication can done using google_sign_in, flutter_facebook_login, and firebase_auth.When the user is signed in or signed up, his data is stored locally using sqlite (as described here: https://pusher.com/tutorials/local-data-flutter). User data is retrieved later whenever required.When an app is opened (after the first sign in/up), while the splash screen displays, we check whether there saved user data. If no, we redirect to the authentication page, else we verify if the data matches what's on the server. If it matches, we display the home page, else, we redirect towards authentication.Does this sound alright?
December 26, 2019 at 03:06PM by Cracin
https://ift.tt/2MuxQfH
Pusher
How to save data locally in Flutter | Pusher tutorials
This tutorial looks at saving data locally with Flutter. It provides code samples for three methods: saving to shared preferences, to a database, and to a file. You will learn when to use each method, as well as the basic Flutter code and dependencies needed.
New post on /r/flutterdev subreddit:
Flutter UI - How do I scale it?
I can create UI for my phone, but when I try to run it on a tablet or other phone, the widgets sometimes exceed bounds and I get a cautionary bar.Is there a widget that I can use to scale this?
December 26, 2019 at 03:12PM by Ultra1101
https://ift.tt/2PXQ4Z5
Flutter UI - How do I scale it?
I can create UI for my phone, but when I try to run it on a tablet or other phone, the widgets sometimes exceed bounds and I get a cautionary bar.Is there a widget that I can use to scale this?
December 26, 2019 at 03:12PM by Ultra1101
https://ift.tt/2PXQ4Z5
reddit
Flutter UI - How do I scale it?
I can create UI for my phone, but when I try to run it on a tablet or other phone, the widgets sometimes exceed bounds and I get a cautionary bar....
New post on /r/flutterdev subreddit:
Flutter Scale Aware
Hey Community!Here we go again. This one is still without a fancy README but maybe looks appealing enough to continue at a second stab? It introduces extensions to aide scale-based layouts.
December 26, 2019 at 03:51PM by jogboms
https://ift.tt/35YQqEt
Flutter Scale Aware
Hey Community!Here we go again. This one is still without a fancy README but maybe looks appealing enough to continue at a second stab? It introduces extensions to aide scale-based layouts.
Container( height: context.scale(2), width: context.scale(14.5), color: Color.red, child: Text("Hello World", style: TextStyle(fontSize: context.fontScale(16))), )PS: It has a huge set of test cases and good coverage.
December 26, 2019 at 03:51PM by jogboms
https://ift.tt/35YQqEt
reddit
Flutter Scale Aware
Hey Community! Here we go again. This one is still without a fancy README but maybe looks appealing enough to continue at a second stab? It...
New post on Flutter Dev Google group:
unable to build a dashboard menu
dear all iam very new to flutter iam trying to build a dashboard menu (consist of all buttons for the command) is there any git repo regarding this topic if yes kindly share best regards
December 26, 2019 at 04:11PM by Mohd Faiz
https://ift.tt/369o8Y5
unable to build a dashboard menu
dear all iam very new to flutter iam trying to build a dashboard menu (consist of all buttons for the command) is there any git repo regarding this topic if yes kindly share best regards
December 26, 2019 at 04:11PM by Mohd Faiz
https://ift.tt/369o8Y5
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
New post on /r/flutterdev subreddit:
Can apple kill flutter
I don't know internal working of flutter or how it makes iOS apps. Iam assumind flutter team is somehow dependant on apple. Can apple prevent other third party stuff like flutter from developing iOS apps?
December 26, 2019 at 04:24PM by Sevenio
https://ift.tt/39gVTZ6
Can apple kill flutter
I don't know internal working of flutter or how it makes iOS apps. Iam assumind flutter team is somehow dependant on apple. Can apple prevent other third party stuff like flutter from developing iOS apps?
December 26, 2019 at 04:24PM by Sevenio
https://ift.tt/39gVTZ6
reddit
Can apple kill flutter
I don't know internal working of flutter or how it makes iOS apps. Iam assumind flutter team is somehow dependant on apple. Can apple prevent...
New post on /r/flutterdev subreddit:
Sometimes My dio locks itself and sometime it works idk why?
Actually I am using dio package for intercepting every request made from my end, and before accessing the options or header specailly token in my case , I am checking for token if it is present or not, If token is found then I proceed and if not then getTokenMethod() is called and dio is locked before doing so, after the token is found using then function and when complete, I unlock my dio, but this doesn't seem to be the correct way I think so, because in these conditions my dio sometimes stuck and keep loading the request like if it is in lock mode.
To get rid of this continuously loading of dio request I tried to use timeout with the dio reqeust but that also dosen't seem to work, my dio is working perfectly with headers sometime, and sometime its not working
December 26, 2019 at 04:49PM by FlutteryFlirt
https://ift.tt/2QytOUX
Sometimes My dio locks itself and sometime it works idk why?
Actually I am using dio package for intercepting every request made from my end, and before accessing the options or header specailly token in my case , I am checking for token if it is present or not, If token is found then I proceed and if not then getTokenMethod() is called and dio is locked before doing so, after the token is found using then function and when complete, I unlock my dio, but this doesn't seem to be the correct way I think so, because in these conditions my dio sometimes stuck and keep loading the request like if it is in lock mode.
To get rid of this continuously loading of dio request I tried to use timeout with the dio reqeust but that also dosen't seem to work, my dio is working perfectly with headers sometime, and sometime its not working
December 26, 2019 at 04:49PM by FlutteryFlirt
https://ift.tt/2QytOUX
reddit
Sometimes My dio locks itself and sometime it works idk why?
Actually I am using dio package for intercepting every request made from my end, and before accessing the options or header specailly token in my...
New post on Flutter Dev Google group:
flutter_webview , and flutter_webview_plugin do not work!
I am trying to build a website where I am going to integrate popular websites in my web app. However, I tried to use the plugins flutter_webview and flutter_webview_plugin but what happened is this when I run the program and try to navigate to these websites through my web app, the web app keeps
December 26, 2019 at 05:27PM by Alpha
https://ift.tt/2Mw8ZIq
flutter_webview , and flutter_webview_plugin do not work!
I am trying to build a website where I am going to integrate popular websites in my web app. However, I tried to use the plugins flutter_webview and flutter_webview_plugin but what happened is this when I run the program and try to navigate to these websites through my web app, the web app keeps
December 26, 2019 at 05:27PM by Alpha
https://ift.tt/2Mw8ZIq
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
New post on /r/flutterdev subreddit:
Flutter - Christmas Wishlist UI Concept- Speed Coding
https://www.youtube.com/watch?v=xEE31wsmV2U&feature=youtu.be
December 26, 2019 at 06:00PM by StevenDznr
https://ift.tt/2tOuyxb
Flutter - Christmas Wishlist UI Concept- Speed Coding
https://www.youtube.com/watch?v=xEE31wsmV2U&feature=youtu.be
December 26, 2019 at 06:00PM by StevenDznr
https://ift.tt/2tOuyxb
YouTube
Flutter - Christmas Wishlist UI Concept- Speed Coding
Flutter UI Speed Coding
Design:
https://cdn.dribbble.com/users/2017098/screenshots/9159346/media/f421049fabc81158733250819c28fc2f.png
Code:
https://github.com/stevendz/wishlist_yt
Images:
https://www.freepik.com/
Music:
https://www.youtube.com/user/homage253
Design:
https://cdn.dribbble.com/users/2017098/screenshots/9159346/media/f421049fabc81158733250819c28fc2f.png
Code:
https://github.com/stevendz/wishlist_yt
Images:
https://www.freepik.com/
Music:
https://www.youtube.com/user/homage253
New post on /r/flutterdev subreddit:
Weaving Flutter with Firebase
Planning to build a product with great speed and need easy steps to follow? Here's an article you may find useful. https://medium.com/@nikkitagandhi/flutter-with-firebase-2bac25075683
December 26, 2019 at 06:22PM by nikitag1494
https://ift.tt/2QgRih2
Weaving Flutter with Firebase
Planning to build a product with great speed and need easy steps to follow? Here's an article you may find useful. https://medium.com/@nikkitagandhi/flutter-with-firebase-2bac25075683
December 26, 2019 at 06:22PM by nikitag1494
https://ift.tt/2QgRih2
Medium
Flutter with Firebase
A resourceful article that can help you draw fine intersection between Flutter & Firebase which can help in improving your app’s…
New post on /r/flutterdev subreddit:
Releasing today: A water chemistry simulation app using dart:ffi, isolates, charts_flutter, flutter_bloc, and provider!
I'm excited to release today an app for simulating the chemistry of chlorine and ammonia in water, a topic of particular importance to wastewater engineers and operators. The interactions between the two species are fairly complex and boil down to a series of differential equations which need to be solved. I was inspired to create this when I saw a tool the EPA had created for doing the same thing — I loved seeing the visualization of these reactions and wanted to recreate it in Flutter.Since there are no dart packages for solving systems of differential equations, I used the very popular C++ library boost for simulating the reactions and connected to the generated library using the
December 26, 2019 at 07:01PM by destinyprovider
https://ift.tt/35ZqHvt
Releasing today: A water chemistry simulation app using dart:ffi, isolates, charts_flutter, flutter_bloc, and provider!
I'm excited to release today an app for simulating the chemistry of chlorine and ammonia in water, a topic of particular importance to wastewater engineers and operators. The interactions between the two species are fairly complex and boil down to a series of differential equations which need to be solved. I was inspired to create this when I saw a tool the EPA had created for doing the same thing — I loved seeing the visualization of these reactions and wanted to recreate it in Flutter.Since there are no dart packages for solving systems of differential equations, I used the very popular C++ library boost for simulating the reactions and connected to the generated library using the
dart:ffi
package. To keep the main thread unburdened by the heavy C++ code, I used isolates to offload all the simulation work.State management is accomplished using the flutter_bloc
and provider
packages. And charts of results are presented using charts_flutter
.Hope you enjoy!Github: https://github.com/dnys1/breakpointApp Store: https://apps.apple.com/us/app/breakpoint-simulator/id1491638603?mt=8Google Play: https://play.google.com/store/apps/details?id=com.humbleme.breakpointDecember 26, 2019 at 07:01PM by destinyprovider
https://ift.tt/35ZqHvt
GitHub
GitHub - dnys1/breakpoint: Mobile breakpoint chlorination calculator and chart viewer using Flutter and Dart ffi
Mobile breakpoint chlorination calculator and chart viewer using Flutter and Dart ffi - GitHub - dnys1/breakpoint: Mobile breakpoint chlorination calculator and chart viewer using Flutter and Dart ffi
New post on /r/flutterdev subreddit:
Icons or Images for the app buttons? Suggestions for preload.
Hi guys, I'm using images for my app buttons instead Cupertino Icons for example, and I realized that my home screen images rendering is a little slow (debug mode).What I'ts better for improve screen rendering?Any suggestion for preload initial screen? Like a splash screen before load all resources.
December 26, 2019 at 06:58PM by adenilson-santos
https://ift.tt/3549S1q
Icons or Images for the app buttons? Suggestions for preload.
Hi guys, I'm using images for my app buttons instead Cupertino Icons for example, and I realized that my home screen images rendering is a little slow (debug mode).What I'ts better for improve screen rendering?Any suggestion for preload initial screen? Like a splash screen before load all resources.
December 26, 2019 at 06:58PM by adenilson-santos
https://ift.tt/3549S1q
reddit
Icons or Images for the app buttons? Suggestions for preload.
Hi guys, I'm using images for my app buttons instead Cupertino Icons for example, and I realized that my home screen images rendering is a little...
New post on /r/flutterdev subreddit:
Is there any way to listen backspace key pressed on keyboard ?
For now I am using this to check that if user has pressed the backspace on the keyboard but this code is not workingimport 'package:flutter/services.dart' as serv;serv.RawKeyboard.instance.addListener((serv.RawKeyEvent k){ print(k); });Can someone tell me how to check if someone pressed the backspace on keyboard
December 26, 2019 at 07:43PM by FlutteryFlirt
https://ift.tt/34TYOnb
Is there any way to listen backspace key pressed on keyboard ?
For now I am using this to check that if user has pressed the backspace on the keyboard but this code is not workingimport 'package:flutter/services.dart' as serv;serv.RawKeyboard.instance.addListener((serv.RawKeyEvent k){ print(k); });Can someone tell me how to check if someone pressed the backspace on keyboard
December 26, 2019 at 07:43PM by FlutteryFlirt
https://ift.tt/34TYOnb
reddit
Is there any way to listen backspace key pressed on keyboard ?
For now I am using this to check that if user has pressed the backspace on the keyboard but this code is not working import...
New post on /r/flutterdev subreddit:
Why UI lags in the Flutter gallery app? Really Unexpected
I looked at Flutter Gallery app today and unexpectedly UI really lagged (compared to native). Especially switching between tabs.I have been rewriting our app from native android to Flutter for about 1 month now and my UI always does not feel like Android. What I mean by "feel" is things like tab, chips clicks or scrolling in GridView with images and loading bars. I have previously used ReactNative and even though it had some minor issues, at least the feel was equal to native development.I don't know if it is just me, but I have tested on my own daily phones: iPhone X and Xioami miA2. I have not tested on any emulators, but all native apps feel native in those phones, expect Flutter ones... I am looking for some hints or perhaps I am true, that Flutter does not feel native at all.
December 26, 2019 at 07:35PM by wellbranding
https://ift.tt/2MxqtnA
Why UI lags in the Flutter gallery app? Really Unexpected
I looked at Flutter Gallery app today and unexpectedly UI really lagged (compared to native). Especially switching between tabs.I have been rewriting our app from native android to Flutter for about 1 month now and my UI always does not feel like Android. What I mean by "feel" is things like tab, chips clicks or scrolling in GridView with images and loading bars. I have previously used ReactNative and even though it had some minor issues, at least the feel was equal to native development.I don't know if it is just me, but I have tested on my own daily phones: iPhone X and Xioami miA2. I have not tested on any emulators, but all native apps feel native in those phones, expect Flutter ones... I am looking for some hints or perhaps I am true, that Flutter does not feel native at all.
December 26, 2019 at 07:35PM by wellbranding
https://ift.tt/2MxqtnA
reddit
Why UI lags in the Flutter gallery app? Really Unexpected
I looked at Flutter Gallery app today and unexpectedly UI really lagged (compared to native). Especially switching between tabs. I have been...
New post on Flutter Dev Google group:
[Breaking Change Proposal] Make CupertinoThemeData.brightness nullable
Hi all, I'd like to make CupertinoThemeData.brightness nullable. Currently it returns Brightness.light even when set to null. This is going to be a breaking change because it breaks an existing widget test. You can find the design doc for this breaking change here: https://ift.tt/1eWmIPy
December 26, 2019 at 11:08PM by WY H
https://ift.tt/2t0Anr3
[Breaking Change Proposal] Make CupertinoThemeData.brightness nullable
Hi all, I'd like to make CupertinoThemeData.brightness nullable. Currently it returns Brightness.light even when set to null. This is going to be a breaking change because it breaks an existing widget test. You can find the design doc for this breaking change here: https://ift.tt/1eWmIPy
December 26, 2019 at 11:08PM by WY H
https://ift.tt/2t0Anr3
New post on Flutter Dev Google group:
Invoke print dialog from flutter_web project?
I'm developing an application that generates some one-time use codes that need to be printed out. If this were an Angular application, I could just include a window.print() link on an element in the template. Is there some equivalent way to invoke the browser's print dialog from a flutter_web
December 26, 2019 at 11:09PM by Stephen Beitzel
https://ift.tt/2t1kRLI
Invoke print dialog from flutter_web project?
I'm developing an application that generates some one-time use codes that need to be printed out. If this were an Angular application, I could just include a window.print() link on an element in the template. Is there some equivalent way to invoke the browser's print dialog from a flutter_web
December 26, 2019 at 11:09PM by Stephen Beitzel
https://ift.tt/2t1kRLI
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
New post on /r/flutterdev subreddit:
Flutter MobX Tutorial – Transparent & Reactive State Management?
https://youtu.be/8j7W91ZJuV0
December 26, 2019 at 11:36PM by MRresoMC
https://ift.tt/2SrHIdW
Flutter MobX Tutorial – Transparent & Reactive State Management?
https://youtu.be/8j7W91ZJuV0
December 26, 2019 at 11:36PM by MRresoMC
https://ift.tt/2SrHIdW
YouTube
Flutter MobX Tutorial – Transparent & Reactive State Management?
📗 Learn from the written tutorial & get the starter project 👇👇
https://resocoder.com/flutter-mobx
📧 Get Flutter news 📰 and resources:
👉 http://flutter.education
👨💻 Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
Not a day goes…
https://resocoder.com/flutter-mobx
📧 Get Flutter news 📰 and resources:
👉 http://flutter.education
👨💻 Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
Not a day goes…
New post on /r/flutterdev subreddit:
Selecting colors, building themes and making a (coherent) Material dark theme has always been hard. My newest Flutter app should help!
https://ift.tt/2MqZ0nJ
December 27, 2019 at 12:28AM by bernaferrari
https://ift.tt/2PXx4tG
Selecting colors, building themes and making a (coherent) Material dark theme has always been hard. My newest Flutter app should help!
https://ift.tt/2MqZ0nJ
December 27, 2019 at 12:28AM by bernaferrari
https://ift.tt/2PXx4tG
GitHub
bernaferrari/color-studio
It is too hard to build coherent and accessible themes with the right colors. This should help. - bernaferrari/color-studio
New post on /r/flutterdev subreddit:
Best solution for storing data?
I'm making an app based around foods/ingredients and i find myself with 2 options:A. Use Firebase non-relational storageB. Use flutter for the front-end but for the back-end use Aquaduct framework made for dart to establish a connection with postgreSQL.Which do you would be the best alternative considering speed? Or what could be your reasons to choose one over the other?
December 27, 2019 at 12:21AM by Bata_1
https://ift.tt/2PXx64M
Best solution for storing data?
I'm making an app based around foods/ingredients and i find myself with 2 options:A. Use Firebase non-relational storageB. Use flutter for the front-end but for the back-end use Aquaduct framework made for dart to establish a connection with postgreSQL.Which do you would be the best alternative considering speed? Or what could be your reasons to choose one over the other?
December 27, 2019 at 12:21AM by Bata_1
https://ift.tt/2PXx64M
reddit
Best solution for storing data?
I'm making an app based around foods/ingredients and i find myself with 2 options: **A.** Use Firebase non-relational storage **B.** Use flutter...
New post on /r/flutterdev subreddit:
How to connect my app to to firebase without admin-sdk(google-config.json)
When reading firebase online documentation they always says that it is not recommended to leave our google-service.json file in our client app , A bad user can access to all our backend firebase project because he has all the infos or admins details of connection. So i wanted to know how to solve this problem and how bad bad it is? if we put our app in production with this google-service.json(admin-sdk)
December 27, 2019 at 04:24AM by TechCoDeFacil
https://ift.tt/2SEU8iT
How to connect my app to to firebase without admin-sdk(google-config.json)
When reading firebase online documentation they always says that it is not recommended to leave our google-service.json file in our client app , A bad user can access to all our backend firebase project because he has all the infos or admins details of connection. So i wanted to know how to solve this problem and how bad bad it is? if we put our app in production with this google-service.json(admin-sdk)
December 27, 2019 at 04:24AM by TechCoDeFacil
https://ift.tt/2SEU8iT
reddit
How to connect my app to to firebase without...
When reading firebase online documentation they always says that it is not recommended to leave our google-service.json file in our client app , A...
New post on /r/flutterdev subreddit:
Flutter download video only first time from url save it locally and then play from the saved file.
Using video_player
December 27, 2019 at 11:02AM by Jksandesh
https://ift.tt/363cDB4
Flutter download video only first time from url save it locally and then play from the saved file.
Using video_player
December 27, 2019 at 11:02AM by Jksandesh
https://ift.tt/363cDB4
reddit
Flutter download video only first time from url save it locally...
Using video_player
New post on Flutter Dev Google group:
Theme change by using Iconbutton in Flutter
I have been searching for the way to implement the dynamic theme change facility in *Flutter app*. most of the videos have the ways by implementing *light to dark* theme by using switches but what i need is as follows let us consider : the initial state is a *Theme.light* and when I press the
December 27, 2019 at 12:40PM by Praveen Kumar Selvaraj
https://ift.tt/2QhEg2E
Theme change by using Iconbutton in Flutter
I have been searching for the way to implement the dynamic theme change facility in *Flutter app*. most of the videos have the ways by implementing *light to dark* theme by using switches but what i need is as follows let us consider : the initial state is a *Theme.light* and when I press the
December 27, 2019 at 12:40PM by Praveen Kumar Selvaraj
https://ift.tt/2QhEg2E
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.