r/FlutterDev • • Jun 24 '20

Tooling New tools for Flutter developers, built in Flutter

https://medium.com/flutter/new-tools-for-flutter-developers-built-in-flutter-a122cb4eec86
187 Upvotes

21 comments sorted by

14

u/hansolo1403 Jun 24 '20

This looks amazing!

12

u/[deleted] Jun 24 '20

This is fantastic! Gives a nice example of a reasonable complicated Flutter app too - not just another login screen or todo list or whatever.

6

u/owensdev Jun 24 '20

Does this mean the web version of Flutter will be updated soon and be production ready?

7

u/kgainz Jun 24 '20

You can definitely make something with Flutter Web but I wouldn't call it production ready. All depends on what kind of application you are trying to make. For example, try to make an Email client with it and you will quickly find out that you can't have a RichText editor. Just go to the master channel to see the latest flutter web progress.

2

u/blueclawsoftware Jun 25 '20

I was wondering the same thing particularly since they said they've fixed the scrolling issues, while building this.

6

u/vuexed Jun 24 '20

Great to see Flutter for Web and Desktop coming along. I for one am ready to ditch HTML, CSS and node-based frontend frameworks when the capability is there.

2

u/Shewebi Jun 25 '20

It even works on Firefox, nice

2

u/YouAreSalty Jun 24 '20 edited Jun 24 '20

So I'm a little confused about this. Aren't these tools already built into Android Studio with the plugins?

6

u/Blanglegorph Jun 25 '20

The good news here is that you don't need to use Android Studio for anything.

0

u/YouAreSalty Jun 25 '20

I didn't see any instructions on how to access the "browser" based (non-Android Studio) devtools?

Personally, I like Android Studio, as well as Visual Studio Code. Not sure why people don't like it.

4

u/Blanglegorph Jun 25 '20

Come on man, the link was right in the article. I'm willing to have a discussion with you, but saying you don't see instructions is a little disingenuous if you don't look that hard. That's the overview, the instructions for the command line are here. Or, you could keep using whatever IDE you prefer.

 

Personally, I like Android Studio, as well as Visual Studio Code. Not sure why people don't like it.

There's nothing wrong with liking either, and understanding why other people might choose not to use them isn't really necessary. What's important is understanding that others choose not to use them. People who want to develop for flutter shouldn't need to download an entirely unrelated IDE for important software.

1

u/YouAreSalty Jun 25 '20

Come on man, the link was right in the article. I'm willing to have a discussion with you, but saying you don't see instructions is a little disingenuous if you don't look that hard. That's the overview, the instructions for the command line are here. Or, you could keep using whatever IDE you prefer.

Sorry, I should have clarified. When I clicked on the link, it took me to the IntelliJ/Android Studio version. I thought this Devtool is standalone built into a browser?

Are they talking about the application server version?

I suppose I'm confused how this is new if it is just the same one as I have always used in Android Studio with the Flutter and Dart plugin.

There's nothing wrong with liking either, and understanding why other people might choose not to use them isn't really necessary. What's important is understanding that others choose not to use them. People who want to develop for flutter shouldn't need to download an entirely unrelated IDE for important software.

No, I'm with you on that. I like options!

2

u/Blanglegorph Jun 25 '20

Sorry, I should have clarified. When I clicked on the link, it took me to the IntelliJ/Android Studio version. I thought this Devtool is standalone built into a browser?

Well, to quote from the article:

We chose to ship DevTools as a web application

Yes, they're talking about the web app, runs in a browser. But not a browser-specific plugin or "built-in" in any way, so you're not tied to a specific browser either. They also say:

We have also been evaluating the benefits of shipping DevTools as compiled desktop apps and so far the results are promising.

So standalone desktop app in the future possibly, but not now.

 

I suppose I'm confused how this is new if it is just the same one as I have always used in Android Studio with the Flutter and Dart plugin.

To again quote from the article:

Today, we’re releasing a new version of Dart DevTools, our suite of tools for debugging and performance analysis for Dart and Flutter code. It has been rebuilt from scratch in Flutter. This version adds several improvements, such as updates to the performance and memory pages, and a completely new network page.

The fact that it's been rebuilt from scratch and has additional features are the news part of the news. The fact that it was rebuilt with flutter is key, as it means they're already halfway to making this a desktop app if they choose. This just makes it overall easier for developers to choose their own environment according to their needs, instead of their tools' needs. I don't think anything in this article is particularly big news for individuals, as in I bet no one's going to alter their workflow significantly because of this (although that layout explorer looks damn sexy). Overall I don't think you're really missing anything big, but that also doesn't mean nothing changed. You're right though, from the perspective of anyone who has been and is going to continue using android studio or vscode I doubt this changes much.

1

u/YouAreSalty Jun 25 '20

Admittedly I skimmed through it, but I got the impression this was a set of new tools separate from the Android Studio or VS Code Plugins. However, it appears it is mainly just a rebuild of the same tools, but with Flutter/Dart instead.

Maybe we will get a standalone version later....

2

u/esDotDev Jun 25 '20

It's a rebuild of the previous web-based dev tools that also were not embedded in the IDE. It can be run from the cmd line if you want: https://flutter.dev/docs/development/tools/devtools/overviewhttps://flutter.dev/docs/development/tools/devtools/cli

flutter pub global activate devtools

1

u/YouAreSalty Jun 25 '20

Thank you! I got it running in a browser!!!

1

u/[deleted] Jun 25 '20

Many of us don't use Android Studio or even have it installed.

1

u/chrabeusz Jun 25 '20

We have also been evaluating the benefits of shipping DevTools as compiled desktop apps

Please do. Web will never outperform compiled AOT code, especially when it comest to startup time, and quick startup time (as few milliseconds as possible) would be awesome for this kind of tool.

1

u/esDotDev Jun 25 '20

def going to need Desktop build for perf testing, the web-based one will suck it all up.

1

u/wellbranding Jun 25 '20

Why there is no shortcut for extracting widget to it is own file??? This would be a real time saver!

1

u/MillenialSamLowry Jun 26 '20

Network traffic logging + extremely detailed profiling. Amaze.

This is how you build a platform! Great tooling => great apps.