Flutter-intellij: Hot UI doesn't show device mirror

Created on 12 Dec 2019  路  9Comments  路  Source: flutter/flutter-intellij

I upgraded Flutter and enabled Hot UI and restarted my IntelliJ IDEA, I get Hot UI working fine, but I can't see this "Device mirror" like you guys showed at the presentation:

image

My interface looks very different:

image

I tested this on Android Studio as well.

Most helpful comment

The advantages are:

  1. You can click or hover over the mirror and select widgets without changing the device to a mode where it is non-interactive.
  2. Having the device mirror right in the ide can be convenient if your emulator isn't visible or if you have a physical device.
  3. We may add extra actions right clicking on the device mirror in the future.

All 9 comments

image

As you can see it's only a preview of property editing which is not very useful without the device mirroring which is the real killer feature.

Well, I don't see many benefits from having an emulator, instead of having screen mirroring, that's what I wanted to test anyway, to see the practical difference, if any.

The code is in IntelliJ however, it also requires a newer version of Flutter (tip of Flutter). I'm not sure if it will be in next Dev Channel or next Beta Channel of Flutter. When the version of Flutter that supports Device Mirror is release well update this issue.

@jacob314

Oh OK... Just a side question, what's the benefit of mirroring compared to an emulator? Is it just to have the screen of a plugged device on screen?

The advantages are:

  1. You can click or hover over the mirror and select widgets without changing the device to a mode where it is non-interactive.
  2. Having the device mirror right in the ide can be convenient if your emulator isn't visible or if you have a physical device.
  3. We may add extra actions right clicking on the device mirror in the future.

Perfect, thanks Jacob.

Any progress on this?

Any progress on this?

How do I enable this Hot UI feature? I checked the experimental box but when I run my code on an Android device it simply does not show me the widgets on the IDE. Do I need to do anything else?

Screen Shot 2020-09-12 at 18 16 15

Screen Shot 2020-09-12 at 18 36 02

Was this page helpful?
0 / 5 - 0 ratings