简体   繁体   中英

Flutter - I want to create a custom TextFomrField border

This TextFormField should have different width in different borderside

For example:

  • left border = 3
  • right border =1

How can I do that without using containers?

the default code is

I just need to create a new class and extends the OutlineInputBorder and override the paint function and in canvas, i need to change to width of the line that i want with different width

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM