feat: custom buffer size (#2370)

* feat: custom buffer size

* cache buffer params

---------

Co-authored-by: dom <githubaccount56556@proton.me>
This commit is contained in:
My-Responsitories
2026-06-10 01:54:32 +00:00
committed by GitHub
parent 90d79b236f
commit 22f37074b1
13 changed files with 152 additions and 64 deletions

View File

@@ -60,9 +60,7 @@ class _CachedNetworkSVGImageState extends State<CachedNetworkSVGImage> {
double? height;
late TextScaler textScaler;
static final _sizeRegExp = RegExp(
r'height="([\d\.]+)([c-x]{2})?"',
);
static final _sizeRegExp = RegExp(r'height="([\d\.]+)([c-x]{2})?"');
@override
void initState() {