Flutter Q&A with Chris Sells, Senior Product Manager at Google on Flutter [Webinar Show Notes] | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (173).NET Core  (29).NET MAUI  (203)Angular  (107)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (40)Black Friday Deal  (1)Blazor  (211)BoldSign  (13)DocIO  (24)Essential JS 2  (106)Essential Studio  (200)File Formats  (65)Flutter  (132)JavaScript  (219)Microsoft  (118)PDF  (81)Python  (1)React  (98)Streamlit  (1)Succinctly series  (131)Syncfusion  (897)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (50)Windows Forms  (61)WinUI  (68)WPF  (157)Xamarin  (161)XlsIO  (35)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (146)Chart  (127)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (63)Development  (618)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (39)Extensions  (22)File Manager  (6)Gantt  (18)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (501)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (42)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (10)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (381)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (17)Web  (582)What's new  (323)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Flutter Q&A with Chris Sells, Senior Product Manager at Google on Flutter [Webinar Show Notes]

Flutter Q&A with Chris Sells, Senior Product Manager at Google on Flutter [Webinar Show Notes]

This blog provides show notes for our April 8, 2021 webinar, “Flutter Q&A with Chris Sells”. The webinar is presented and hosted by Chris Sells, Senior Product Manager at Google on Flutter.

Introduction

Join us as we open the doors to Chris Sells, Senior Product Manager at Google on Flutter, to answer all your burning questions about Flutter!

Q&A

Is there a future plan for Flutter to use something like hooks to depend on widget data flow instead of widget lifecycle events, so that it’s all about functions to manage state rather than classes?

This isn’t something the Flutter team is likely to directly support any time soon, but you can use the functional_widget plugin from pub.dev to accomplish this today.

How mainstream is Flutter becoming? Are many companies adopting it?

Flutter 2 marks a big push into the mainstream for Flutter. There are more than 150,000 Flutter apps in the Google Play Store alone and more than 500,000 monthly active Flutter developers. You can see some of the top companies and their stores at flutter.dev/showcase.

Do you prefer Android Studio over Visual Studio Code as your environment?

I’m a fan of VS Code because of my background with Visual Studio and Microsoft-based technologies. However, for those who prefer IntelliJ-based technologies, we also fully support IntelliJ and Android Studio. We find that our customer base is roughly split down the middle between these two IDEs.

What about widget security?

Flutter apps run in the same security sandbox as their host (e.g., in the Android sandbox on Android, in the browser sandbox on the web, etc.). Flutter makes no special considerations for security beyond that.

Loving Flutter and looking forward to seeing desktop Flutter become stable. How is desktop Flutter going and do you foresee it becoming stable?

We continue to make good progress towards stability in each new Flutter release. I hope to be able to announce that Flutter on Windows, macOS, and Linux are stable soon! However, once it does hit stable, that’s just the beginning. We plan to continue to invest in Flutter on the desktop for years to come.

There have been many approaches/packages available for state management. For experienced developers starting with Flutter, what do you recommend starting with?

Unless you have a good reason not to, we recommend everyone using Flutter to start with the provider package for state management.

How does Flutter handle existing iOS and Android libraries not written for its framework?

Using platform channels, you can also write native code for any Flutter platform and get to native libraries. However, before you do that, I recommend looking at pub.dev, Flutter’s package manager, which has over 15,000 Flutter-compatible packages and plugins as of this writing. You’re very likely to find someone has published a package for most native libraries you’re interested in.

What are the pros and cons of Flutter versus React Native and Xamarin?

Google itself does not make those comparisons, but I recommend this comparison done by Nubank, South America’s largest online bank.

Can you program Flutter in full Visual Studio 2019?

You’re able to do anything the IDEs can do via the command line and the LSP server that the Dart analyzer provides, which gives you the freedom to use whatever editor you like for your Dart and Flutter code. However, the Flutter team does not provide an IDE extension for Visual Studio.

When you’re getting started with Flutter and Dart, what are some solid training resources?

There are LOTS of training resources, but for a soup-to-nuts introduction to Dart and Flutter, I highly recommend the following resources:

When starting a new Flutter project, how much time do you need to build in to allow for the learning curve?

After 2.5 years on the team, I’m still learning new things about Flutter. However, in my experience, most new Flutter developers are happy and productive in their first week.

What features of Flutter make it a good choice when performance is important?

Flutter uses Dart programming language, which does AOT compilation for release builds, which means that Flutter apps run at whatever the native speed is of the underlying device. For example, Flutter will run at 60 FPS on a 60 FPS device, 120 FPS on a 120 FPS device, etc.

What is the best widget for displaying and running videos that include all the normal UI controls (positioning slider, stop, resume, audio control, maximize/zoom to full screen)?

This isn’t something that the Flutter team provides, but I recommend a quick search on pub.dev where you’ll find several solutions to choose from.

Is Flutter at risk of being deprecated any time soon?

No. Flutter is critical for internal teams at Google, like Google Pay, Stadia, Nest Home Hub, Google Ads, etc. Furthermore, there are more than 150,000 Flutter apps in the Google Play Store alone and more than 500,000 monthly active Flutter developers. Well-known brands like eBay, BMW, realtor.com, Tencent, Alibaba and more are using Flutter for their business.

At this point, we couldn’t cancel it if we wanted to. And we very much do NOT want to. : )

Have you used Adobe XD to develop Flutter UIs? How has your experience, or the experience of others, been creating UIs with Adobe XD?

I haven’t used it myself; I’m not a designer. However, the designers that have used it to provide tighter integration with their Flutter engineering teams have reported it to be an excellent time-saving experience. Also, the Adobe XD plugin is actively maintained, so it’s getting better all the time.

When can we expect the IO package for Flutter Web?

We have done research into that area but don’t currently have this work on our roadmap. That shouldn’t hold you back, however, as most of the differences in IO between Dart and Flutter are encapsulated in the file_selector and cross_file packages on pub.dev.

What scenarios are ideal for Flutter on the web?

Flutter on the web is great for building highly interactive, rich apps. This is excellent for building an app that could also be targeted at mobile or the desktop and using the web for seamless app distribution. It’s less useful for document-based sites.

How do I embed a Flutter web app in a webpage?

This isn’t something that the Flutter team has spent a lot of time on, but I recommend starting with an iframe.

What is the difference between functions and classes to create reusable widgets?

Functions are good for encapsulating reusable functionality, but they don’t provide a barrier for optimization that Flutter widgets do. In general, if you’d like to reduce drawing time for parts of your widget tree that don’t change, you should be using widgets, not functions.

What are some tips and tricks for improving rendering performance?

I recommend the performance best practices documentation on flutter.dev for an excellent guide on that topic.

I’m interested in capturing and analyzing performance metrics. What are some tools or options I can use along with Flutter to accomplish this?

I recommend Flutter DevTools for that and so much more!

Editable data grid for web/tablets/desktops—will this be a reality soon? It’s a must for enterprise apps.

You can expect an editable Flutter DataGrid for web/tablet/desktop in our Syncfusion 2021 Volume 2 roadmap.

Conclusion

In this webinar, Chris Sells answered a wide range of questions about Flutter from the attendees. We hope you find this helpful for your work with Flutter. Keep an eye out for future webinars!

googleplay.png

Recommended resources (related links)

Tags:

Share this post:

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed