It's scary when text doesn't do what you want. Text layout and painting is often not in our control. But in Flutter, we have the control. In this talk, Matt demonstrates how to turn a regular Text widget into a custom SelectableText widget with a caret, highlight region, drag selection, and a custom cursor, all in less than 30 minutes.
Source code:
https://github.com/matthew-carroll/fl...
---
Follow:
/ suprdeclarative
Hourly Flutter Consulting:
https://consulting.superdeclarative.com
Flutter Training:
https://hotreload.io
Learn Flutter:
https://school.superdeclarative.com
Blog:
http://blog.superdeclarative.com
Website:
https://superdeclarative.com