Add `dense` property to `TextField` and `Dropdown` controls
See original GitHub issueHello, I’m trying to develop a simple desktop application with multiple TextField
objects. The default dimensions are much taller that what I’m looking for, and as far as I can tell from Flutter documentation, the best way to modify this is changing the decoration
property of the TextField
, that takes an InputDecoration
.
Could this class implemented in flet, as well as the corresponding property to use it?
I wonder if there’s any workaround to achieve this effect at the moment.
Thank you
Issue Analytics
- State:
- Created 9 months ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Text field component - Vuetify
The hint property on text fields adds the provided string beneath the text field. Using persistent-hint keeps the hint visible when the text...
Read more >React Text Field component - Material UI - MUI
The TextField wrapper component is a complete form control including a label, input, and help text. It comes with three variants: outlined (default), ......
Read more >Text fields - Material Design
Text fields let users enter, edit, and select text. ... Text fields should stand out and indicate that users can input ... Dense...
Read more >Replace text field with a dropdown menu in ASP.NET Core ...
You should change the Rating field to dropdown menu on the Creat page and Edit page. Below is my test code,you can refer...
Read more >TextField class - material library - Flutter - Dart API docs
By default, a text field has a decoration that draws a divider below the text field. You can use the decoration property to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve had the chance to give it a try and it does exactly what I wanted. Many thanks!!
Yep,
content_padding
corresponds to that property.So, I’m going to add
isDense
property then.