I know that there is a SelectableText widget but what I am looking for is something to make an entire table/page to be selectable, not text by text but the entire table, like a normal page in html.
By the way: I am developing web pages with flutter
Is there any way to do it using the lastest version of flutter/dart or any 3 part widget?
Thanks
Related
I want to create this type of listview using flutter.
https://dribbble.com/shots/6872462-Food-ordering-app-Animate
You can find out more by clicking on this link. But I don't know how to create this type of list. I mean, you can see in the GIF that the list is indexed based.
A fixed indexed item container is colored.
How can I achieve it?
Flutter provides you with a widget very similar to the result you want to achieve called NavigationRail.
You will not have the animation by default, but you can maybe search in the source code of this widget how to create a custom widget that will implement animations.
In the Flutter web apps, there is no default functionality which makes text and images in the app selectable.
Is there a way to enable selection functionality for text/image on web?
I did check SelectableText widget but it is only for text and I would need to use it over every text. Also, you can't select text in multiple SelectableText widgets at once, you can only select text in one of them. I'm looking for a solution to select all text in the app without making change to every text widget.
Let me know if there’s one step solution to achieve this thing in whole web app.
In Flutter 3.3, with the introduction of the SelectableArea widget, any child of the SelectableArea widget has selection enabled for free!
To take advantage of this powerful new feature, simply wrap your route body (such as the Scaffold) with the SelectionArea widget and let Flutter do the rest.
For a more comprehensive deep dive into this awesome new feature, please visit the SelectableArea API page.
Flutter Web currently does not support multiple text selection across SelectableText widgets.
However, there are some experimental widgets that people are currently working on. According to a guide available at:
Custom SelectableScope Widget
They have proposed a custom widget, a Selectable scope, which basically allows for anything within it to be selectable (currently text and images)
NOTE: THIS IS CURRENTLY UNDER EXPERIMENTATION AND MIGHT CHANGE AS MENTIONED IN THE PROVIDED LINK.
I have to develop registration form in flutter which is very big but I am unable to implement it with the help of Flutter. This form is for a website. I am using TextFormField and I am unable to make it responsive.
You have to use a form and in that form you put a column that contain rows in every row you put textfieldform or two as I saw I the screenshot and you should wrap the textfieldforms with the expanded widget and do not forget to use MainAxisAlignment and crossAxisAlignment to adjust your widgets inside the column and the rows and that should be what you need to do.
How can I make my Text responsive for any screen in flutter.
I have 3 Text and Textfields and I want to make it responsive to any screen size.
By the way I have tried to use Flexible and I put them inside a Container that I put it inside a Row.
But when I try it on my mobile phone it look super nice and on another phone it look so bad and big.
have you checked auto_size_text on pub.dev ?
i have used it twice , and works perfectly here is the link auto_size_text
I'd like to fit multiple widgets into PageView,
if the page is full, I want to move to the next page.
So I'd like to get sizes of the widgets inside the page without building the widgets.
This post seems that it's required to build the widget first before getting the size.
For text, I can do it using RenderParagraph.
Is it possible to get the size of custom widgets?
The widgets I want to get the size are basically text which we can tab each word.