Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
GGroup: Dart 2 Breaking Change: Callable classes
*What is changing?* In Dart 1, a class with a call method is a subtype of a function type with the same signature. ```dart // Dart 1 class C { void call(int x) {} } typedef void F(int i); void main() { C c = new C(); F f = c; // OK f as C; // OK, cast succeeds c(3); // OK

Submitted February 21, 2018 at 10:40PM by Leaf Petersen
via Flutter Dev http://ift.tt/2EZi5L0
GGroup: Dart 2 Breaking Change: New methods and constructors on Invocation
TLDR: If you don't have code that implements or mixes in the `Invocation` class, you can stop reading. We (the Dart team) are making some small breaking changes to the `Invocation` class to reflect the addition of generic methods to Dart 2. See below for a summary of the change and its impact.

Submitted February 22, 2018 at 12:05AM by Leaf Petersen
via Flutter Dev http://ift.tt/2CcrYnQ
GGroup: Dart 2 Breaking Change Proposal: Disallow void returns from dynamic functions
TLDR: We are soliciting feedback on the proposal to disallow return a `void` typed value from a function whose return type is not `void`. The original Dart 2 proposal for the treatment of `void` attempted to prevent `void` typed values from being accidentally used. See here for details on the

Submitted February 22, 2018 at 12:47AM by Leaf Petersen
via Flutter Dev http://ift.tt/2CAQkn2
Reddit: Is Flutter kind of like a game engine and if so, shouldn't this mean it should work consistently across a lot of devices?
No text found

Submitted February 22, 2018 at 05:05PM by johnwayne2413
via reddit http://ift.tt/2oihhY3
GGroup: NC FAST P3 Test Scripts Writer
*Title/Role: ** Test Scripts Writer* *Location: **Research Triangle Park, Durham, NC 27709* *Duration: 8+ Months* Interview Mode: In Person only *Complete Description: * The NC Department of Health and Human Services seeks a contractor resource to assist with the development and

Submitted February 22, 2018 at 08:16PM by mahi v
via Flutter Dev http://ift.tt/2EWtRG6
Reddit: Cookbook: recipes that demonstrate how to solve common problems while writing Flutter apps
http://ift.tt/2Fn9vn6

Submitted February 23, 2018 at 09:29AM by Purple_Pizzazz
via reddit http://ift.tt/2ENwAhU
GGroup: Using Dart 2.0 support in flutter
Is there a way that you completely develop in Dart 2.0 in flutter so that you don't have to pass flutter run --preview-dart-2 always? Also is it likely, we going to see flutter beta release lunch with Dart 2.0? or let me rephrase, When is Dart 2.0 going to be ready to use in Flutter in a way that

Submitted February 23, 2018 at 04:43PM by Michael Tawiah Sowah
via Flutter Dev http://ift.tt/2otkovF
GGroup: Flutter for older phones
Is it possible to compile (with some customization) a Flutter app for 32 bit iPhones (i.e. 5C, and older)? Thanks.

Submitted February 23, 2018 at 08:05PM by Kevin Boyle
via Flutter Dev http://ift.tt/2otvxfU
GGroup: Repository for desktop implementations of Flutter embedding API
Hello Flutter community, Some folks at Google are exploring the use of Flutter in desktop applications, and we’ve created a repository to house implementations of the Flutter embedding API for desktop platforms: http://ift.tt/2sqQCx1 Since Flutter is currently

Submitted February 23, 2018 at 09:29PM by Stuart Morgan
via Flutter Dev http://ift.tt/2CF31xa
GGroup: Flutter plugin v22 now available -- New Flutter tooling releases!
Improved Flutter editing assists We’ve added several new code refactorings to help you build and refactor your Flutter UI code. In VS Code they are available in the light bulb menu using the keyboard shortcut ‘cmd-.’; in IntelliJ / Android Studio these are available via the keyboard shortcut

Submitted February 23, 2018 at 10:40PM by Wm Leler
via Flutter Dev http://ift.tt/2FrNTpX
GGroup: Sentry reported issue
Hi, team Since My App published with the sentry, There are some issues may be caused by Flutter Library. How can I share them with the team? like this, stack below: NoSuchMethodError: NoSuchMethodError: The method 'visitAncestorElements' was called on null. Receiver: null Tried calling:

Submitted February 24, 2018 at 11:12AM by Ken Shao
via Flutter Dev http://ift.tt/2CFQo4Y
Reddit: Flutter: Bookshelf App Part 2, Personal Notes and Database Integration
http://ift.tt/2GJA59z

Submitted February 24, 2018 at 03:44PM by Brudigem
via reddit http://ift.tt/2HKKbs3
Reddit: What's best approach to clean architecture in Flutter?
I'm coming, probably like most here, from Android, where I use a clean approach with separate modules, interactors, repositories, Dagger, architecture components and whatnot to structure the code into testable, single-responsibility components.Obviously, Flutter is different with all its reactive approach, and I'm wondering if there's some widely-accepted as pretty nice approach to structuring Flutter apps? What I miss from Android is e.g. Dagger -- I see that here InheritedWidget is used to hold data, but there's no DI per se, is there? For passing data in general I'd love to use streams and have setState called on stream emissions, does that make sense? What's the best approach to separate view, drawing and animations from actual presentation logic?Overall I spent lots of time designing clean Android apps, and I'd love to see clean Flutter examples. I see there's Flux (not updated heavily, and also is almost a direct port of Redux with single state for the entire app), and single architecture samples repo.So, Flutter community, what's your preferred way to write a non-trivial, maintainable, testable, and overall clean app?

Submitted February 24, 2018 at 07:15PM by la__bruja
via reddit http://ift.tt/2ouJgDj
Reddit: Flutter not detecting iOS simulator
Could someone help me to get flutter recognize iOS simulator or point me a forum where such a things are discussed? I've tried reporting on the flutter git, but no response unfortunately.I run simulator with:
sudo open -a Simulator.appand
sudo flutter devices gives me
No devices detectedsudo flutter doctor output is here
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (on Mac OS X 10.12.6 16G29, locale pl, channel dev)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[!] iOS toolchain - develop for iOS devices (Xcode 9.2)
✗ CocoaPods not installed
CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the . Dart side
Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS
For more info, see https://flutter.io/platform-plugins
To install:
brew install cocoapods
pod setup .
[✓] Android Studio (version 3.0)
[!] Connected devices
! No devices availableAlthough brew install cocoapods states that:
Warning: cocoapods 1.4.0 is already installed
and I've run pod setup multiple times.Any ideas guys?

Submitted February 24, 2018 at 08:56PM by KOala888
via reddit http://ift.tt/2EPKXlL
GGroup: Adding a bulk number of Assets to Flutter
Is there a way to include a bulk number of assets as including them one by one, as is currently done, will a lot of work. So is there a way for eg: just include the folder containing the assets rather than the individual files

Submitted February 24, 2018 at 11:31PM by Michael Tawiah Sowah
via Flutter Dev http://ift.tt/2BNsSWJ