Open hacker1024 opened 2 years ago
At the moment, the HighlightView widget parses text in the build method. This is very inefficient.
This PR implements a StatefulWidget instead, caching the parsing results across rebuilts.
At the moment, the HighlightView widget parses text in the build method. This is very inefficient.
This PR implements a StatefulWidget instead, caching the parsing results across rebuilts.