How to select and focos part of a text in Flutter - flutter

I have a box with text, this box has a scroll.
I want to be able to tap on a button and select the text "products". If the text that I want to select is not on the screen, I need to jump into it.
Is it possible using Flutter web or desktop?

You can use SelectableText() widget instead of normal Text() widget

Related

How can i achieve this with flutter?

enter image description here
On clicking any of the tabs I want to expand the container which contains textfield as in picture 2.
enter image description here
Then I want to switch tabs but second click on same tab should contract the container like before.
maybe you can use ExpansionTile widget.

How to create Drag Select in Flutter?

I want to create something like this in flutter desktop and wrap widgets with some widget that can be selected when drag select takes place.
Drag select in flutter desktop.

How to show a container / dialog next to an icon when the icon is tapped?

Hi I'm trying to create a screen that have bunch of container with a child of row that have a text and a Icon (the red one - can be seen on the image). So when I click the icon I want to show a dialog right next to the icon. I tried using aligned_dialog but the positioning is really hard to do, I want it to be instantly next to the icon just like the image.
Is there any package or widget that I can use to achieve this ?
You can check this package: https://pub.dev/packages/just_the_tooltip
It allow to specify a child of type Widget, so you can add what you want.

Using AlertDialog on a stack widget in flutter

I have a basic layout where I am using a stack widget to hold my other widgets.. I have a side toolbar, inside that I have a pen menu on click of which a popup should appear. When i am clicking the pen menu an alert dialog appears but not in the expected place, what i mean is...
I am expecting a dialog like the one in the below image. Do I need to use any plugin to create a dialog like this with a chevron mark?enter image description here
As you are using Alert dialog, it will by default be aligned in center of your screen. In order to achieve what you are trying to, I would suggest using a plugin like this.

How to get the highlight widget from flutter web?

As title, if the user hover a UI element, it will highlight on flutter web, I would like to know how do I know which element is being hover and highlighted. Thanks.
To select text, simply use the selectableText widget.
As for hovers, its supposed to be under the guestures widget, but there are work arounds.
Work around 1
Work around 2