New tweet from FlutterDev:
The Spacer widget controls how much space appears between widgets in a row or column. Just add it between two widgets, set the flex factor, and voila. You’ve got customized spacing!
Click here for more #WidgetoftheWeek tips ↓ pic.twitter.com/8vU2vyVOJF— Flutter (@FlutterDev) May 30, 2019
May 30, 2019 at 08:22PM
http://twitter.com/FlutterDev/status/1134163264605024256
The Spacer widget controls how much space appears between widgets in a row or column. Just add it between two widgets, set the flex factor, and voila. You’ve got customized spacing!
Click here for more #WidgetoftheWeek tips ↓ pic.twitter.com/8vU2vyVOJF— Flutter (@FlutterDev) May 30, 2019
May 30, 2019 at 08:22PM
http://twitter.com/FlutterDev/status/1134163264605024256
Twitter
#widgetoftheweek hashtag on Twitter
15h ago @FlutterDev tweeted: "✏️ Writing your own button controls from.." - read what others are saying and join the conversation.
New post on Flutter Dev Google group:
Any idea about encoding CGImage to WebP by libwebp?
Hi there, I published a video to thumbnail plugin : http://bit.ly/2Qua0S0 . But when I was testing it on iPhone and iPhone simulator, I found the color wasn't looking right. I have to use WebPEncodeBGRA instead of WebPEncodeRGBA as CGImage states the data should be "rByte
May 30, 2019 at 08:50PM by John Zhong
http://bit.ly/2Wzw5Ei
Any idea about encoding CGImage to WebP by libwebp?
Hi there, I published a video to thumbnail plugin : http://bit.ly/2Qua0S0 . But when I was testing it on iPhone and iPhone simulator, I found the color wasn't looking right. I have to use WebPEncodeBGRA instead of WebPEncodeRGBA as CGImage states the data should be "rByte
May 30, 2019 at 08:50PM by John Zhong
http://bit.ly/2Wzw5Ei
Dart packages
video_thumbnail | Flutter Package
A flutter plugin for creating a thumbnail from a local video file or from a video URL.
New post on /r/flutterdev subreddit:
Flutter Playground
http://bit.ly/2Wf8KZf
May 30, 2019 at 08:59PM by ibhavikmakwana
http://bit.ly/2Ibjmy6
Flutter Playground
http://bit.ly/2Wf8KZf
May 30, 2019 at 08:59PM by ibhavikmakwana
http://bit.ly/2Ibjmy6
Google Play
Flutter Playground - Apps on Google Play
An opensource app contains various Flutter widgets example.
Click on list items of the home page to see examples of different Flutter widgets.
Source code: https://github.com/ibhavikmakwana/FlutterPlayground
Click on list items of the home page to see examples of different Flutter widgets.
Source code: https://github.com/ibhavikmakwana/FlutterPlayground
New post on /r/flutterdev subreddit:
Run integration test directly on device
Hi,I'm currently evaluating Flutter and am very excited overall, I can image this being the future of app development for most apps.However, I feel like there is something missing in the testing suites:Support for integration tests running directly on the device. Something like instrumentation tests on android.I know that I can run driver tests, however the interaction with the driver is pretty limited, this is only for UI testing.I want to run tests that, for example, connect to the database and run a query.I can write something like this:
May 30, 2019 at 11:39PM by knaekce
http://bit.ly/2Wtc8it
Run integration test directly on device
Hi,I'm currently evaluating Flutter and am very excited overall, I can image this being the future of app development for most apps.However, I feel like there is something missing in the testing suites:Support for integration tests running directly on the device. Something like instrumentation tests on android.I know that I can run driver tests, however the interaction with the driver is pretty limited, this is only for UI testing.I want to run tests that, for example, connect to the database and run a query.I can write something like this:
void main() async { final DatabaseOpenHelper dbHelper = DatabaseOpenHelper(rootBundle); Database db; setUp(() async { db = await dbHelper.openDb(); }); tearDown(() async { db.close(); }); test("Open db is ok", () async { expect(db.isOpen, true); }); }And run it with flutter run integration_test/db_test.dart, and this successfully executes the test. But the tests keeps running afterwards. I could call exit() in tearDownAll(), but this would exit with a non-zero exit code. I would like to have a 0 exit code if all tests succeeded, and a non-zero exit code otherwise.With flutter drive I would get this behaviour but of course I can't run any platform specific code in the target file. I wrote a proof of concept hack to get this behaviour via communication over a flutter driver extension, but I wonder if I keep missing something obvious to get the behaviour I want, I think that's quite a common use case.Here's what I did:db_test.dart (code executed on the host):``` import 'package:flutter_driver/flutter_driver.dart'; import 'package:test/test.dart';void main() async { FlutterDriver driver;setUpAll(() async { driver = await FlutterDriver.connect(); });test("wait for device tests", () async { String result; do { result = await driver.requestData(""); print("test status? $result"); await Future.delayed(Duration(seconds: 1)); } while (result == "waiting"); expect(result, "ok"); });tearDownAll(() async { if (driver != null) { await driver.close(); } }); } ```Basically the code on the host just waits for the driver to finish all tests and then gets the exceptions (if any) or the string "ok" if everything went fine.db_native_test.dart (code executed on the phone):``` import 'package:flutter_test/flutter_test.dart' as test; import 'package:sqflite/sqflite.dart';List<dynamic> exceptions = [];///custom expect method to intercept fails expect(dynamic actual, dynamic matcher, {String reason, dynamic skip}) { try { test.expect(actual, matcher, reason: reason, skip: skip); } catch (err) { exceptions.add(err); rethrow; } }void main() async { final DatabaseOpenHelper dbHelper = DatabaseOpenHelper(rootBundle); Database db;var status = "waiting";enableFlutterDriverExtension(handler: (request) => Future.value(status));test.tearDownAll(() { if (exceptions.isEmpty) { status = "ok"; } else { status = "fail: " + exceptions.join("\n"); } });test.setUp(() async { db = await dbHelper.openDb(); });test.tearDown(() async { db.close(); });test.test("Open db is ok", () async { expect(db.isOpen, true); }); ```This works, can also be used with hot reloading (running it with flutter run), but it's a lot of code, and it's hacky. Is there an easier way?
May 30, 2019 at 11:39PM by knaekce
http://bit.ly/2Wtc8it
reddit
r/FlutterDev - Run integration test directly on device
0 votes and 0 comments so far on Reddit
New post on /r/flutterdev subreddit:
Excited to start my first ever tutorial series for Flutter. Wanna join in?☺️
http://bit.ly/2KfhaIT
May 30, 2019 at 11:36PM by idreesBughio
http://bit.ly/2WtcaXD
Excited to start my first ever tutorial series for Flutter. Wanna join in?☺️
http://bit.ly/2KfhaIT
May 30, 2019 at 11:36PM by idreesBughio
http://bit.ly/2WtcaXD
Technotes 78
My First Complete Flutter Project: JUST JAVA
Establishing that flutter is the thing for me I went through a series of tutorial to understand the nits and grits of Dart as well as development in Flutter. Everything started off fun and exciting…
New post on /r/flutterdev subreddit:
The top 45 must-follow Flutter experts on Twitter
http://bit.ly/2HLtu1U
May 30, 2019 at 10:50PM by Gigatronbot
http://bit.ly/2EJ1o5w
The top 45 must-follow Flutter experts on Twitter
http://bit.ly/2HLtu1U
May 30, 2019 at 10:50PM by Gigatronbot
http://bit.ly/2EJ1o5w
Codemagic blog
The top 45 must-follow Flutter experts on Twitter | Codemagic Blog
Find your Flutter role models with their best resources and improve your Flutter dev skills in record time.
New post on /r/flutterdev subreddit:
Flutter + vscode Github versioning integration
For some reason I was always afraid to use version control system because it seems very complicated to me with commits pulls pushes merges.I have an overall idea of what they are but I am too afraid to use them with my app code. I fear i would do something wrong and The code would be in an unrecoverable state after a mistake.Do any of you have any resources for setting up and using github inside vscode for flutter development? Preferably a tutorial video or an article. I am tired of zipping my code folder and backing it up.
May 30, 2019 at 10:31PM by aytunch
http://bit.ly/2XnR7D7
Flutter + vscode Github versioning integration
For some reason I was always afraid to use version control system because it seems very complicated to me with commits pulls pushes merges.I have an overall idea of what they are but I am too afraid to use them with my app code. I fear i would do something wrong and The code would be in an unrecoverable state after a mistake.Do any of you have any resources for setting up and using github inside vscode for flutter development? Preferably a tutorial video or an article. I am tired of zipping my code folder and backing it up.
May 30, 2019 at 10:31PM by aytunch
http://bit.ly/2XnR7D7
reddit
r/FlutterDev - Flutter + vscode Github versioning integration
0 votes and 1 comment so far on Reddit
New post on /r/flutterdev subreddit:
Service Locator Pattern for finding BLoC Managers
https://www.youtube.com/watch?v=gF9EtbAJQJA&feature=youtu.be
May 30, 2019 at 09:45PM by zaiste
http://bit.ly/314HR98
Service Locator Pattern for finding BLoC Managers
https://www.youtube.com/watch?v=gF9EtbAJQJA&feature=youtu.be
May 30, 2019 at 09:45PM by zaiste
http://bit.ly/314HR98
YouTube
Flutter in Practice - E26: The Poor's Man Service Locator
Flutter in Practice is a free programming course that teaches how to write a mobile application using Flutter framework and Dart programming language. Instea...
New post on /r/flutterdev subreddit:
Flutter web responsive portfolio app
Here is the mobile meets web. Yeah! my first ever responsive portfolio website built using flutter web with loveCode: (link: https://github.com/TakeoffAndroid/takeoffandroid.github.io) github.com/TakeoffAndroid…Website: (link: https://takeoffandroid.github.io/#/) takeoffandroid.github.io/#/
May 30, 2019 at 07:52PM by takeoffandroid
http://bit.ly/2W4abEK
Flutter web responsive portfolio app
Here is the mobile meets web. Yeah! my first ever responsive portfolio website built using flutter web with loveCode: (link: https://github.com/TakeoffAndroid/takeoffandroid.github.io) github.com/TakeoffAndroid…Website: (link: https://takeoffandroid.github.io/#/) takeoffandroid.github.io/#/
May 30, 2019 at 07:52PM by takeoffandroid
http://bit.ly/2W4abEK
GitHub
TakeoffAndroid/takeoffandroid.github.io
Mobile developer portfolio responsive website built using flutter web. ❤️ - TakeoffAndroid/takeoffandroid.github.io
New post on /r/flutterdev subreddit:
Functional Model-View-Update Architecture for Flutter - Build Flutter
http://bit.ly/2YR8yvY
May 31, 2019 at 12:44AM by PedroMassango
http://bit.ly/2HLmUs7
Functional Model-View-Update Architecture for Flutter - Build Flutter
http://bit.ly/2YR8yvY
May 31, 2019 at 12:44AM by PedroMassango
http://bit.ly/2HLmUs7
Build Flutter
Functional Model-View-Update Architecture for Flutter - Build Flutter
Object orientation has led us to separate the application into easily manageable chunks. We send messages between objects, they update themselves and send more messages. While this premise is sound, you require god-like foresight to ensure this works well…
New post on /r/flutterdev subreddit:
“Simple Login Flow in Flutter, then Firebase”
http://bit.ly/2MktN8b
May 31, 2019 at 02:36AM by aaronksaunders
http://bit.ly/2HNlYnc
“Simple Login Flow in Flutter, then Firebase”
http://bit.ly/2MktN8b
May 31, 2019 at 02:36AM by aaronksaunders
http://bit.ly/2HNlYnc
Medium
Simple Login Flow in Flutter, then Firebase
Part One: We will implement the login flow without Firebase so that there is a baseline application for people who are not going to use…
New post on /r/flutterdev subreddit:
Flutter Provider - Sharing Data Between Models using Services
https://youtu.be/dnW0NunWBTM
May 31, 2019 at 04:28AM by Filledstacks
http://bit.ly/2MmZgGA
Flutter Provider - Sharing Data Between Models using Services
https://youtu.be/dnW0NunWBTM
May 31, 2019 at 04:28AM by Filledstacks
http://bit.ly/2MmZgGA
YouTube
Flutter Provider - A Follow up to my Architecture Guide
Sharing data timestamp - 03:55Written Tutorial: https://www.filledstacks.com/post/flutter-provider-architecture-sharing-data-across-your-modelsProvider only ...
New post on /r/flutterdev subreddit:
Crostini setup script for Flutter, VS Code, Node/npm, and pip.
http://bit.ly/2XhA2dE
May 31, 2019 at 05:52AM by jpfreely
http://bit.ly/2EGQZag
Crostini setup script for Flutter, VS Code, Node/npm, and pip.
http://bit.ly/2XhA2dE
May 31, 2019 at 05:52AM by jpfreely
http://bit.ly/2EGQZag
Gist
Headless Crostini quick setup script for Flutter, VS Code, Node/npm (via nvm), Firebase tools, and pip for Python3
Headless Crostini quick setup script for Flutter, VS Code, Node/npm (via nvm), Firebase tools, and pip for Python3 - _README.md
New post on Flutter Dev Google group:
Compiler errors? Please help a noob
This is so far above my head! Does anyone know what is going on so I can run this app in the simulator again? Launching lib/main.dart on iPhone XS in debug mode... Compiler message: file:///Users/brennan/flutter/.pub-cache/hosted/ pub.dartlang.org/flutter_sticky_header-0.3.4/lib/src/widgets/s
May 31, 2019 at 06:18AM by Brennan Altringer
http://bit.ly/2YWOYyj
Compiler errors? Please help a noob
This is so far above my head! Does anyone know what is going on so I can run this app in the simulator again? Launching lib/main.dart on iPhone XS in debug mode... Compiler message: file:///Users/brennan/flutter/.pub-cache/hosted/ pub.dartlang.org/flutter_sticky_header-0.3.4/lib/src/widgets/s
May 31, 2019 at 06:18AM by Brennan Altringer
http://bit.ly/2YWOYyj
New post on /r/flutterdev subreddit:
MetaFlutter: An app to create Flutter layouts on the phone (Open Source)
I created an open source project to allow users to build Flutter layouts on the phone.Build out an idea you had instantly, try out something you've never tried before or just use it as a tool for Flutter layout demonstrations.Check it out:PlayStore LinkSource Code
May 31, 2019 at 08:11AM by deven9852
http://bit.ly/2wsL7Nv
MetaFlutter: An app to create Flutter layouts on the phone (Open Source)
I created an open source project to allow users to build Flutter layouts on the phone.Build out an idea you had instantly, try out something you've never tried before or just use it as a tool for Flutter layout demonstrations.Check it out:PlayStore LinkSource Code
May 31, 2019 at 08:11AM by deven9852
http://bit.ly/2wsL7Nv
Google Play
MetaFlutter - Apps on Google Play
Create Flutter layouts on your phone with MetaFlutter!
New post on Flutter Dev Google group:
Flutter vs Unity
Hi I bumped into a discussion with my friends who are app/game developers. Many of them build games with unity that i had not heard of previously. They had not heard of flutter. This got me wondering what's the positioning of these two platforms and specially what's the unique differentiation
May 31, 2019 at 09:43AM by Jagan Gmail
http://bit.ly/2MnmufK
Flutter vs Unity
Hi I bumped into a discussion with my friends who are app/game developers. Many of them build games with unity that i had not heard of previously. They had not heard of flutter. This got me wondering what's the positioning of these two platforms and specially what's the unique differentiation
May 31, 2019 at 09:43AM by Jagan Gmail
http://bit.ly/2MnmufK
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:
MySql Database Connectivity using PHP
Hi everyone, I want to understand in detail about how to connect to MySql using PHP in flutter. Is there any point/videos/channel where I can find it? I want to understand how to call data from MySql in my flutter application.
May 31, 2019 at 11:39AM by Parul Nandwani
http://bit.ly/2HL6kbD
MySql Database Connectivity using PHP
Hi everyone, I want to understand in detail about how to connect to MySql using PHP in flutter. Is there any point/videos/channel where I can find it? I want to understand how to call data from MySql in my flutter application.
May 31, 2019 at 11:39AM by Parul Nandwani
http://bit.ly/2HL6kbD
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:
Slide Puzzle - Flutter for Web sample updated with Provider (pkg: provider)
http://bit.ly/2KhZhsW
May 31, 2019 at 11:47AM by EngineerScientist
http://bit.ly/2W6xtK4
Slide Puzzle - Flutter for Web sample updated with Provider (pkg: provider)
http://bit.ly/2KhZhsW
May 31, 2019 at 11:47AM by EngineerScientist
http://bit.ly/2W6xtK4
GitHub
flutter/samples
A collection of Flutter examples and demos. Contribute to flutter/samples development by creating an account on GitHub.
New post on /r/flutterdev subreddit:
Flutter Json Table Widget
This Flutter package provides a Json Table Widget for directly showing table from a json(Map).https://pub.dev/packages/json_table
May 31, 2019 at 02:12PM by ayushpguptaapgapg
http://bit.ly/2HLhQDT
Flutter Json Table Widget
This Flutter package provides a Json Table Widget for directly showing table from a json(Map).https://pub.dev/packages/json_table
May 31, 2019 at 02:12PM by ayushpguptaapgapg
http://bit.ly/2HLhQDT
Dart packages
json_table | Flutter package
A Flutter package providing Json Table Widget for directly showing table from a json(Map).
New post on /r/flutterdev subreddit:
How to Share object while Routing? (Named Routes)
http://bit.ly/2EKLzez
May 31, 2019 at 03:45PM by nitishk72
http://bit.ly/3176EcG
How to Share object while Routing? (Named Routes)
http://bit.ly/2EKLzez
May 31, 2019 at 03:45PM by nitishk72
http://bit.ly/3176EcG
Medium
Flutter: Advance Routing and Navigator (Part 2)
This is Article is on two parts
New post on /r/flutterdev subreddit:
Article on Superhero Interaction app developed in Flutter
http://bit.ly/2Xh8FRa
May 31, 2019 at 02:49PM by pinkeshdarji
http://bit.ly/2JPSyXM
Article on Superhero Interaction app developed in Flutter
http://bit.ly/2Xh8FRa
May 31, 2019 at 02:49PM by pinkeshdarji
http://bit.ly/2JPSyXM
Medium
Superhero Interaction App in Flutter
Cool Superhero interaction animated app made in Flutter.