Flutter Heroes
26.2K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on /r/flutterdev subreddit:

Now that non-nullability is out let's share some tips: `late`. Late is a new keyword in Dart. It allows you to initialize a variable "the first time it is read" instead of on its creation. In the context of Flutter, it kinds of removes the need for `initState` -[Remi Rousselet @remi_rousselet]
https://twitter.com/remi_rousselet/status/1270881224396025856

June 11, 2020 at 03:09AM by EngineerScientist
https://ift.tt/2zllGlR
New post on Flutter Dev Google group:

how to use 'shape' option in 'showModalBottomSheet'
Hello: How can i use shape option in showModalBottomSheet?

June 11, 2020 at 04:20AM by adnan ul haque
https://ift.tt/30rZBxj
New post on /r/flutterdev subreddit:

A/B testing with flutter
Hey everyone, I’m at the point with my app where I’d like to start performing some A/B testing. What’s the best way to do this with flutter? Specifically on the backend side of things. Just make calls to a DB (firebase?) or are there specific DB optimized for A/B testing scenarios? Then afterword, export the data and do some analysis?Thanks!

June 11, 2020 at 04:53AM by Throqaway
https://ift.tt/2zlAeC0
New post on Flutter Dev Google group:

Parsing json data and doing pro level networking in flutter is now easy.
Though flutter has its own json serializer we all know the amount of boiler plate code it needs to set up the whole class. So I started searching the internet to find an easy way of doing it, and I came to this ( https://ift.tt/3cNjKQL

June 11, 2020 at 07:57AM by Souvik Dutta
https://ift.tt/2AhNE2C
New post on /r/flutterdev subreddit:

<b>What Is New In Flutter 1.17 And Dart 2.8?</b>
Flutter is a cross-platform programming framework used for developing Android, iOS apps, and now it’s progressing towards the web. Flutter uses Dart programming language to build android, ios, web apps with a unified UI look across all. The first release for Flutter and dart for the year 2020 is out now.This new version of Flutter has closed 6339 issues and came with many performance level improvements. During the release of Flutter, the whole world is facing the crisis because of pandemic and most of you are working from home, hence Flutter has named this release as Work-From-Home Edition. Let’s see top Flutter 1.17 features with came with this stable release:20-37% rapid Navigation within the default caseUp to 40% decrease in CPU/GPU usage for animations in iOSApplication size is reduced up to 18.5%70% of memory reduction scrolling through large imagesThe default use of Apple’s Metal graphics API, improving rendering time by around 50 percent on iOSYou can also know- <a href="https://solaceinfotech.com/blog/why-flutter-is-a-golden-technology-for-ios-app-development/">Why Flutter is golden technology for ios app development?</a> Flutter 1.17 has introduced a new widget NavigationRail designed by Material Design Team and has also improved the fabric DatePicker widget. Let us see the details of the new features.Features Of Flutter 1.17-1. Mobile Performance And Size Improvements-Flutter 1.17 release is mainly focused on performance and memory improvements. By upgrading the app to the new version, your users can experience faster animations, smaller app size, and low memory use. You can experience 20% to 37% speedup for the default navigation case. There is 40% reduction in CPU/GPU use for ios animations, counting on the hardware. This release comes with app size improvement with some fixes that gives an enormous result.  Also, this comes with a 70% reduction in memory usage while scrolling through large images and increases the performance. 2. Material Widgets-Flutter 1.17 supports new material widgets and also updates to the existing widgets. With this release, NavigationRail is added, which is a replacement widget that gives a responsive app navigation model. It is excellent for apps that will switch between mobile and desktop form factors. DatePicker and TextSelection overflow widgets have also been updated. DatePicker’s new visuals match the updated Material guidelines and add a new text input mode. Now TextSelection has improved fidelity for iOS and Android when buttons are longer than can be displayed without overflowing. Google also releases a new Animation package that provides prebuilt animations by implementing the new Material motion specifications. In short, new release brings- The new NavigationRail widgetUpdated Material DatePicker widgetUpdated text selection overflow on AndroidUpdated text selection overflow on iOS3. Google Fonts-Google fonts for the updated version have been released and developers can use any fonts from fonts.google.com to their app. When the app is ready for deployment, developer can decide whether the user will receive the font by downloading it from the API or is pre-bundled with the app package.4. Metal support-Metal is Apple’s low-level graphics API which allows access to the GPU of ios devices that allows flutter apps to run faster. The metal support improves rendering speeds of iOS apps by 50%. On the iOS devices that support Metal, Flutter now uses it by default, making your Flutter apps run faster most of the time, increasing rendering speeds by about 50 percent on the average.5. Material Text Scale-With the new release, Flutter team has completed the implementation of Scale portion of the 2018 Material Design specification. This release updates the TextTheme API to match the Material spec by maintaining the old names so that the code will not break.6. Accessibility And Internationalization-It is important…
New post on Flutter Dev Google group:

crossAxisCount of StaggeredGridView.countBuilder is not taking effect?
My code: Container( margin: EdgeInsets.only(top:10.0), height: 250.0, width: 320.0, color: Colors.redAccent, child: Column( children: [ Expanded( child: StaggeredGridView.countBuilder(

June 11, 2020 at 10:16AM by Abdullahi Abdi
https://ift.tt/2AYoMNj
New post on Flutter Dev Google group:

Embed Typeform into Flutter App
Hi Flutter fam, Do you know how could I embed a Typeform (https://ift.tt/ZDZDsZ) into a Flutter app? The idea is to give business people flexibility to change the form's content on the go without having to publish the app over and over again - not sure if that is possible though. Thank you,

June 11, 2020 at 10:29AM by DiF
https://ift.tt/3dZ5fLm
New post on Flutter Dev Google group:

Login Page Making Without Using Firebase Using Provider
Hello everyone, I am one of the new users of Flutter and there is a lot more to learn. Hope this helps me improve on this platform. Hope to learn new information together. I have a problem like this. I have to log in through my two API resources. First of all, I send the mail and password

June 11, 2020 at 10:33AM by Gökçen Merve Horuk
https://ift.tt/2MMJjqF
New post on Flutter Dev Google group:

setting up streambuilder!
hey guys! i am a bit lost . i have a news screen that return my users from firestore! on top of the screen i have 6 buttons that says eg(New york, london , stockholm...), i would like the stream builder to reset the state of the screen based on the button (city)that user chose and return the

June 11, 2020 at 11:10AM by Error Place
https://ift.tt/3dTFVpN
New post on Flutter Dev Google group:

Hero Widget flutter
hey . i am trying to make a hero transition for images i am fetching from firestore. i have tried multiple ways but not been succesfull. can someone please point me to the right direction. this is how i am fetching the images from firestore body: FutureBuilder( future: usersRef.document(wid

June 11, 2020 at 12:39PM by Error Place
https://ift.tt/2UARw5s
New post on Flutter Dev Google group:

How to use flutter provider in a statefulWidget?
class GirisSayfasi extends StatefulWidget { @override _GirisSayfasiState createState() => _GirisSayfasiState(); } class _GirisSayfasiState extends State
New post on /r/flutterdev subreddit:

How can I structure my firestore database for online bookstore flutter app?
https://ift.tt/2Yt0K5b

June 11, 2020 at 01:48PM by OmarYehiaDev
https://ift.tt/3cUR8Fn
New post on /r/flutterdev subreddit:

Where to start to understand the BLoC?
I used only Provider before. TIA.

June 11, 2020 at 05:38PM by 2reform
https://ift.tt/3dUFWtI
New post on /r/flutterdev subreddit:

Is Angela Yu's course on Flutter and Dart good starting point for someone who has never typed a single code?
I really want to learn Dart and Flutter and I was thinking between Maximilian Schwarzmüller's course and Anglela Yu's. Is it even possible to learn coding without any prior knowledge with courses like that, and which one is better for total beginner? Thanks!

June 11, 2020 at 05:28PM by Bat_is_my_last_name
https://ift.tt/2Ykhzz2
New post on /r/flutterdev subreddit:

Discuss an solution to decode image (Image Provider) from another isolates instead of using main isolates
Hi folks,To what I known, when I want to display an network image on a screen, the common solution i often go with is using Image.network(....). But the problem is the internal image provider DOES NOT load and decode up stream data ( an array of bytes) into an image in separated isolates. In fact, it uses adefault decoder from PaintingBinding.instance.instantiateImageCodec as below:IMAGE_PROVIDER.DARTvoid resolveStreamForKey(ImageConfiguration configuration, ImageStream stream, T key, ImageErrorListener handleError) {
// This is an unusual edge case where someone has told us that they found
// the image we want before getting to this method. We should avoid calling
// load again, but still update the image cache with LRU information.
if (stream.completer != null) {
final ImageStreamCompleter completer = PaintingBinding.instance.imageCache.putIfAbsent(
key,
() => stream.completer,
onError: handleError,
);
assert(identical(completer, stream.completer));
return;
}
final ImageStreamCompleter completer = PaintingBinding.instance.imageCache.putIfAbsent(
key,
() => load(key, PaintingBinding.instance.instantiateImageCodec),
onError: handleError,
);
if (completer != null) {
stream.setCompleter(completer);
}
}=> Would come up with a laggy screen if the image is large.So do u guys have any idea to improve this?

June 11, 2020 at 06:14PM by andy1x08
https://ift.tt/3hiYkPa