New post on Flutter Dev Google group:
How to include scrollbar/scrolling functionality for particular widget in list view
Hi Good day. I have ListVIew widget and within the list view, I want to implement scrolling functionality for particular widget. Please anyone can assist/suggest me best solution. PFB below code snippet. return Scaffold( appBar: AppBar( title: Text('Sample app'), backgroundColor: Colors.deepPur
March 27, 2019 at 10:18AM by PRAVIN MARATHE
https://ift.tt/2JWFOQ3
How to include scrollbar/scrolling functionality for particular widget in list view
Hi Good day. I have ListVIew widget and within the list view, I want to implement scrolling functionality for particular widget. Please anyone can assist/suggest me best solution. PFB below code snippet. return Scaffold( appBar: AppBar( title: Text('Sample app'), backgroundColor: Colors.deepPur
March 27, 2019 at 10:18AM by PRAVIN MARATHE
https://ift.tt/2JWFOQ3
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:
[MobX] Confused about different approaches
Greetings everyone,since my application has reached a point in which vanilla setState handling is getting out of hand and loses a lot of readability and understanding, I'm about to rewrite these logical parts with one of those best practice solutions. After some researching i actually kind of liked the workflow of MobX. The fact that most boilerplate code gets generated by command and I just need to insert the Observer widget right where data gets displayed makes it easy to implement and increases the readability.To get to the topic: as of right now I'm testing the possibilities of MobX to better understand how I should implement this in my main application. Since now there are 2 behaviors (which actually lead to the same reason) where I'm not sure how to properly handle those. I'm using a Settings Store class for handling user properties through the application:
March 27, 2019 at 10:52AM by Kounex
https://ift.tt/2FCWhoe
[MobX] Confused about different approaches
Greetings everyone,since my application has reached a point in which vanilla setState handling is getting out of hand and loses a lot of readability and understanding, I'm about to rewrite these logical parts with one of those best practice solutions. After some researching i actually kind of liked the workflow of MobX. The fact that most boilerplate code gets generated by command and I just need to insert the Observer widget right where data gets displayed makes it easy to implement and increases the readability.To get to the topic: as of right now I'm testing the possibilities of MobX to better understand how I should implement this in my main application. Since now there are 2 behaviors (which actually lead to the same reason) where I'm not sure how to properly handle those. I'm using a Settings Store class for handling user properties through the application:
/*Application uses an instance of Settings */ class Settings = SettingsBase with _$Settings;/* Store class which represents data (observables which will trigger the Observer Widget as the value changes) and actions which handles changes to those observables */ abstract class SettingsBase implements Store { SettingsBase();@observable ThemeWrapper themeWrapper = ThemeWrapper( currentThemeType: ThemeType.dark, theme: getThemeData(ThemeType.dark));
@observable List<String> enteredWares = [];First the themeWrapper property. If I'm changing it inside a function with the @action annotation like this:
@actionchangeTheme(ThemeType themeType) { this.themeWrapper.currentThemeType = themeType; this.themeWrapper.theme = getThemeData(themeType);the appropriate Observer widget won't get rebuilded since the themeWrapper Object itself didn't change - only its properties did! So in order to make this work, I either have to transform the ThemeWrapper class to be a Store just like Settings:
class ThemeWrapper = ThemeWrapperBase with _$ThemeWrapper;abstract class ThemeWrapperBase implements Store { ThemeWrapperBase({this.currentThemeType, this.theme});@observable ThemeType currentThemeType; @observable ThemeData theme; }or instead i could actually just call: this.themeWrapper = this.themeWrapper; after changing the properties which will also work. The second approach doesn't feel like the way it should be done but decreases the amount of needed Store classes and additional boilerplate code.Same thing happens when instead of a simple object a collection like List is being used
@observableList<String> enteredWares = [];
@actionaddWare(String ware) { this.enteredWares.add(ware); }calling addWare won't trigger the rebuild of the appropriate Observer widget since again the object enteredWares doesn't get changed - its property which contains the Strings does. Again calling this.enteredWares = this.enteredWares; would make the trick here but feels wrong. In this particular case in order to solve this problem in the way as mentioned before, I would have to write my own collection which has its entries as an observable and the add / remove function as actions. This can't be the way to go either.So what am I missing here? Is the second approach by re-setting the variable expensive performance wise or even has other drawbacks I'm not even aware of? Or should i actually just go for it? Other ways to handle this scenario with MobX? I would appreciate any kind of help here! :)
March 27, 2019 at 10:52AM by Kounex
https://ift.tt/2FCWhoe
New post on /r/flutterdev subreddit:
Encryption in Flutter (curve ed25519)
HiDoes anyone have experience with curve ed25519 in flutter?I'm looking for a package to sign a message and send it. The only problem is that it has to be with ed25519.
Any info would be nice. Thanks!//Ivan
March 27, 2019 at 10:31AM by ivancoene
https://ift.tt/2FzbSUl
Encryption in Flutter (curve ed25519)
HiDoes anyone have experience with curve ed25519 in flutter?I'm looking for a package to sign a message and send it. The only problem is that it has to be with ed25519.
Any info would be nice. Thanks!//Ivan
March 27, 2019 at 10:31AM by ivancoene
https://ift.tt/2FzbSUl
Wikipedia
Curve25519
elliptic curve used in Internet cryptography
New post on /r/flutterdev subreddit:
Common Workflow in Flutter
https://ift.tt/2U0AUGb
March 27, 2019 at 11:47AM by NearbyCover7
https://ift.tt/2FuPjAq
Common Workflow in Flutter
https://ift.tt/2U0AUGb
March 27, 2019 at 11:47AM by NearbyCover7
https://ift.tt/2FuPjAq
Medium
Common Workflow in Flutter
A Developer Checklist
New post on Flutter Dev Google group:
SLiver adapter error , flutter
I encountered an error displaying indexof(child) > index for sliver adapter but i didnt use any slivers Heres my code: class _profilePageState extends State { FirebaseUser user; String username; @override void initState() async { // TODO: implement initState super.init
March 27, 2019 at 05:04PM by Krishna Gandrath
https://ift.tt/2CG5udn
SLiver adapter error , flutter
I encountered an error displaying indexof(child) > index for sliver adapter but i didnt use any slivers Heres my code: class _profilePageState extends State { FirebaseUser user; String username; @override void initState() async { // TODO: implement initState super.init
March 27, 2019 at 05:04PM by Krishna Gandrath
https://ift.tt/2CG5udn
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:
Join us for HumpdayQandA!
https://twitter.com/FlutterComm/status/1110946172137553920
March 27, 2019 at 05:49PM by Nash0x7E2
https://ift.tt/2TYOh9W
Join us for HumpdayQandA!
https://twitter.com/FlutterComm/status/1110946172137553920
March 27, 2019 at 05:49PM by Nash0x7E2
https://ift.tt/2TYOh9W
Twitter
Flutter Community
Join us on zoom now, Ray Rischpater from the @FlutterDev team will be here in 10 minutes! @nlycskn #flutter #FlutterCommunity @r_FlutterDev @Flutter_Flakes @FlutterWk https://t.co/uEXpy8jwch
New post on Flutter Dev Google group:
LA SCHIFOSA PUTTANA FRANCESCA VERDINI SE LA FA CON L'ASSASSINO NAZISTA, NDRANGHETISTA MATTEO SALVINI
LA SCHIFOSA PUTTANA FRANCESCA VERDINI SE LA FA CON L'ASSASSINO NAZISTA E NDRANGHETISTA MATTEO SALVINI! CHE HA 20 ANNI PIU' DI LEI O QUASI. E' FIGLIA DEL MASSONE PEZZO DI MERDA DENIS VERDINI, UN FASCISTA SCHIFOSO, CHE HA PIU' CONDANNE AL CARCERE........ LUI CHE AL CAPONE E RENATO VALLANZASCA
March 27, 2019 at 06:50PM by SIMONA-PREMOLI EXLESBIANAMANTE-DE MARINA-BERLUSCONI
https://ift.tt/2OsyrOI
LA SCHIFOSA PUTTANA FRANCESCA VERDINI SE LA FA CON L'ASSASSINO NAZISTA, NDRANGHETISTA MATTEO SALVINI
LA SCHIFOSA PUTTANA FRANCESCA VERDINI SE LA FA CON L'ASSASSINO NAZISTA E NDRANGHETISTA MATTEO SALVINI! CHE HA 20 ANNI PIU' DI LEI O QUASI. E' FIGLIA DEL MASSONE PEZZO DI MERDA DENIS VERDINI, UN FASCISTA SCHIFOSO, CHE HA PIU' CONDANNE AL CARCERE........ LUI CHE AL CAPONE E RENATO VALLANZASCA
March 27, 2019 at 06:50PM by SIMONA-PREMOLI EXLESBIANAMANTE-DE MARINA-BERLUSCONI
https://ift.tt/2OsyrOI
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:
Easy way to test Flutter app?
Hi Everyone!I am develop Flutter app with Firebase backend.I have auth, notification, and Firestore. I am use
March 27, 2019 at 07:10PM by Flutter_Dev
https://ift.tt/2HWk4Rs
Easy way to test Flutter app?
Hi Everyone!I am develop Flutter app with Firebase backend.I have auth, notification, and Firestore. I am use
scoped_model
for manage state. I want add test to app for check app is work on many device.I have no experience add test to app.What is most easy way to test? I have read https://flutter.dev/docs/testing but still look complicate.Firebase Robo Test look very easy but it no work for Flutter because:Robo tests use the Android API to perform actions on Android UI widgets directly. That helps the tests explore your UI automatically, but also means that they need to be able to extract an Android UI hierarchy for a screen in order to run tests on it.This correct?What is most easy for beginner?Thanks!March 27, 2019 at 07:10PM by Flutter_Dev
https://ift.tt/2HWk4Rs
docs.flutter.dev
Testing & debugging
Content covering testing and debugging Flutter apps.
New post on Flutter Dev Google group:
Detect if android phone is plugged in ...
Looking for a Flutter plug-in to detect if android phone is physically plugged in ...
March 27, 2019 at 10:17PM by Jeff Morse
https://ift.tt/2CBjNjx
Detect if android phone is plugged in ...
Looking for a Flutter plug-in to detect if android phone is physically plugged in ...
March 27, 2019 at 10:17PM by Jeff Morse
https://ift.tt/2CBjNjx
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 Flutter Dev Google group:
Detect is a phone is tilted or flat on table
Looking for a Flutter plug-in to detect is a phone is tilted or flat on table
March 27, 2019 at 10:18PM by Jeff Morse
https://ift.tt/2V132oT
Detect is a phone is tilted or flat on table
Looking for a Flutter plug-in to detect is a phone is tilted or flat on table
March 27, 2019 at 10:18PM by Jeff Morse
https://ift.tt/2V132oT
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:
Why is Flutter so overly verbose? Why is working with TextFields so bad?
To do anything with a textfield, you need to a TextFieldController defined in your class, then you have to assign to your textfield, then you have to reference the controller where you would need to manipulate or get the value of your text field. Just so many different things you need to do that completely interrupts your flow. And you need to do all this for EVERY text field you want to manipulate (which is pretty much all of them, why else have a text field). Even in hated Android, it was a lot more natural to manipulate text fields.And now, after receiving an error response from my http call, I wanted to focus on the offending field, and when I wanted to call controller.focus(), it wasn't there. Turns out I have to do the EXACT SAME THING for focusNodes as well. Create a focusNode variable in my class, assign to the text field, and then call when required. Are you kidding me? I know Flutter is generally great (and I'm a big fan and currently switching a huge app over to Flutter) but it's things like this that are frustrating, unnatural and will drive away people. There's no natural flow to coding (even in the Flutter videos and the boring show, the actual flutter developers have to consistently look up classes and how things are called because it's just so unnatural. )/rant
March 27, 2019 at 10:14PM by ac_version_01
https://ift.tt/2HK3Zzg
Why is Flutter so overly verbose? Why is working with TextFields so bad?
To do anything with a textfield, you need to a TextFieldController defined in your class, then you have to assign to your textfield, then you have to reference the controller where you would need to manipulate or get the value of your text field. Just so many different things you need to do that completely interrupts your flow. And you need to do all this for EVERY text field you want to manipulate (which is pretty much all of them, why else have a text field). Even in hated Android, it was a lot more natural to manipulate text fields.And now, after receiving an error response from my http call, I wanted to focus on the offending field, and when I wanted to call controller.focus(), it wasn't there. Turns out I have to do the EXACT SAME THING for focusNodes as well. Create a focusNode variable in my class, assign to the text field, and then call when required. Are you kidding me? I know Flutter is generally great (and I'm a big fan and currently switching a huge app over to Flutter) but it's things like this that are frustrating, unnatural and will drive away people. There's no natural flow to coding (even in the Flutter videos and the boring show, the actual flutter developers have to consistently look up classes and how things are called because it's just so unnatural. )/rant
March 27, 2019 at 10:14PM by ac_version_01
https://ift.tt/2HK3Zzg
reddit
r/FlutterDev - Why is Flutter so overly verbose? Why is working with TextFields so bad?
0 votes and 0 comments so far on Reddit
New post on /r/flutterdev subreddit:
Custom painting in Flutter - Flutter In Focus
https://www.youtube.com/attribution_link?a=24lvH0ihIKs&u=%2Fwatch%3Fv%3DvvI_NUXK00s%26feature%3Dshare
March 27, 2019 at 10:11PM by Pixelreddit
https://ift.tt/2WvEeG9
Custom painting in Flutter - Flutter In Focus
https://www.youtube.com/attribution_link?a=24lvH0ihIKs&u=%2Fwatch%3Fv%3DvvI_NUXK00s%26feature%3Dshare
March 27, 2019 at 10:11PM by Pixelreddit
https://ift.tt/2WvEeG9
YouTube
Custom painting in Flutter - Flutter In Focus
Are you looking to create an advanced UI using Flutter’s CustomPaint and CustomPainter widgets? Well, you're in luck! In this episode of Flutter in Focus, Ma...
New post on /r/flutterdev subreddit:
I've been working on an app using Bloc and Cloud FIrestore the past few weeks and blogging about it. I'm mostly figuring it out as I go. This is me figuring out how to arrange the Bloc to ensure the app is reactive to database changes across instances.
https://ift.tt/2HJRVhh
March 27, 2019 at 09:44PM by definitely_robots
https://ift.tt/2FyGXI1
I've been working on an app using Bloc and Cloud FIrestore the past few weeks and blogging about it. I'm mostly figuring it out as I go. This is me figuring out how to arrange the Bloc to ensure the app is reactive to database changes across instances.
https://ift.tt/2HJRVhh
March 27, 2019 at 09:44PM by definitely_robots
https://ift.tt/2FyGXI1
Streams from the Cloud
Cross-Instance Reactivity with Streams and Futures in Firestore
Since this app is designed for a group of people to work together in real-time, it is important that when someone enters a bill or payment record into the database, that record is immediately visib…
New post on /r/flutterdev subreddit:
Dash - Bloc provider made easy
https://ift.tt/2YnuKOO
March 27, 2019 at 09:30PM by MainaWycliffe
https://ift.tt/2TAfiv7
Dash - Bloc provider made easy
https://ift.tt/2YnuKOO
March 27, 2019 at 09:30PM by MainaWycliffe
https://ift.tt/2TAfiv7
Medium
Announcing — Dash
Hi folks, in this article I will explain why Dash library was created and the problem that it try to solve. This also was a way to learn…
New post on /r/flutterdev subreddit:
Flutter Deployment Workflow Done Right
https://ift.tt/2Yr9aJv
March 27, 2019 at 09:08PM by Purple_Pizzazz
https://ift.tt/2TGuPts
Flutter Deployment Workflow Done Right
https://ift.tt/2Yr9aJv
March 27, 2019 at 09:08PM by Purple_Pizzazz
https://ift.tt/2TGuPts
Medium
Flutter Android Deployment Workflow Done Right
Streamline and automate your distribution and app deployment process
New post on /r/flutterdev subreddit:
Docker image and scripts for running Flutter tests in a container
https://ift.tt/2FGid1H
March 27, 2019 at 10:25PM by MisterJimson
https://ift.tt/2OCcc9j
Docker image and scripts for running Flutter tests in a container
https://ift.tt/2FGid1H
March 27, 2019 at 10:25PM by MisterJimson
https://ift.tt/2OCcc9j
GitHub
MisterJimson/flutter-docker-deps
A docker image with the dependancies required to install and run Flutter tests - MisterJimson/flutter-docker-deps
New tweet from FlutterDev:
Paint a masterpiece with the CustomPaint widget 👩‍🎨🖼!
In this #FlutterinFocus, @mjohnsullivan covers the anatomy 💀 of the CustomPaint widget, adds a paint function to highlight faces on an image, and resizes the image canvas.
Watch here → https://t.co/zSYGIQNqdU pic.twitter.com/P35wUAke76— Flutter (@FlutterDev) March 27, 2019
March 28, 2019 at 12:31AM
http://twitter.com/FlutterDev/status/1111048008379043847
Paint a masterpiece with the CustomPaint widget 👩‍🎨🖼!
In this #FlutterinFocus, @mjohnsullivan covers the anatomy 💀 of the CustomPaint widget, adds a paint function to highlight faces on an image, and resizes the image canvas.
Watch here → https://t.co/zSYGIQNqdU pic.twitter.com/P35wUAke76— Flutter (@FlutterDev) March 27, 2019
March 28, 2019 at 12:31AM
http://twitter.com/FlutterDev/status/1111048008379043847
Twitter
#flutterinfocus hashtag on Twitter
23m ago @FlutterDev tweeted: "🌟Another #FlutterinFocus episode! 🌟
.." - read what others are saying and join the conversation.
.." - read what others are saying and join the conversation.
New post on /r/flutterdev subreddit:
Clean + BLoC Flutter
So, I am currently working on getting a proper folder structure (hopefully as close to Clean Architecture by Uncle Bob as it can) that makes sense in a Flutter project. I'm using an approach that attempts to work with a global app BLoC containing many other sub-BLoCs according to need. Then, with
March 28, 2019 at 12:42AM by codingalecr
https://ift.tt/2TAusRa
Clean + BLoC Flutter
So, I am currently working on getting a proper folder structure (hopefully as close to Clean Architecture by Uncle Bob as it can) that makes sense in a Flutter project. I'm using an approach that attempts to work with a global app BLoC containing many other sub-BLoCs according to need. Then, with
screens.dart
I expose the different screens that there could be; this is mostly to use them in the routes.dart file so I don't have to do all the imports. A similar approach is taken with auth.dart. Overall, my proposed folder structure would look something like this:lib
-main.dart
-src
--app.dart
--theme.dart
--colors.dart
--routes.dart
--data
---datasources
---repositories
--domain
---models
---blocs
--presentation
---animations
---widgets
---screens
----screens.dart
----auth
-----auth.dart
-----login.dart
-----reset_password.dart
I welcome all the feedback since I'm quite new to Flutter (just spent the last 2 weeks figuring it all out and learning about BLoC and Redux patterns).March 28, 2019 at 12:42AM by codingalecr
https://ift.tt/2TAusRa
reddit
r/FlutterDev - Clean + BLoC Flutter
0 votes and 0 comments so far on Reddit
New post on /r/flutterdev subreddit:
Hummingbird release date?
Hi, I was just wondering if there is an approximative release date of Hummingbird. When the Flutter team showed it for the first time in December 2018, they said that it was still in an early stage and that it wouldn't be released soon. Will it get released in 2019?
March 28, 2019 at 03:32AM by kamilgeagea
https://ift.tt/2uuvVON
Hummingbird release date?
Hi, I was just wondering if there is an approximative release date of Hummingbird. When the Flutter team showed it for the first time in December 2018, they said that it was still in an early stage and that it wouldn't be released soon. Will it get released in 2019?
March 28, 2019 at 03:32AM by kamilgeagea
https://ift.tt/2uuvVON
reddit
r/FlutterDev - Hummingbird release date?
0 votes and 0 comments so far on Reddit
New post on Flutter Dev Google group:
"Could not launch engine with configuration"
I get this much of the time when I edit even the tiniest thing in my code: Launching lib/dice_button.dart on iPhone Xʀ in debug mode... Xcode build done. 11.8s [VERBOSE-2:engine.cc(176)] Could not prepare to run the isolate. [VERBOSE-2:engine.cc(123)]
March 28, 2019 at 04:47AM by Guyren Howe
https://ift.tt/2FHzYOh
"Could not launch engine with configuration"
I get this much of the time when I edit even the tiniest thing in my code: Launching lib/dice_button.dart on iPhone Xʀ in debug mode... Xcode build done. 11.8s [VERBOSE-2:engine.cc(176)] Could not prepare to run the isolate. [VERBOSE-2:engine.cc(123)]
March 28, 2019 at 04:47AM by Guyren Howe
https://ift.tt/2FHzYOh
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.