flutter 3.44.0

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-16 22:51:33 +08:00
parent ad1583706a
commit 1fcc26464f
73 changed files with 1350 additions and 530 deletions

View File

@@ -13,37 +13,23 @@ class CachedNetworkSVGImage extends StatefulWidget {
String url, {
Key? key,
String? cacheKey,
Widget? placeholder,
WidgetBuilder? errorBuilder,
double? width,
double? height,
Map<String, String>? headers,
BoxFit fit = BoxFit.contain,
AlignmentGeometry alignment = Alignment.center,
bool matchTextDirection = false,
bool allowDrawingOutsideViewBox = false,
String? semanticsLabel,
bool excludeFromSemantics = false,
SvgTheme theme = const SvgTheme(),
ColorFilter? colorFilter,
WidgetBuilder? placeholderBuilder,
this._placeholder,
this._errorBuilder,
this._width,
this._height,
this._headers,
this._fit = BoxFit.contain,
this._alignment = Alignment.center,
this._matchTextDirection = false,
this._allowDrawingOutsideViewBox = false,
this._semanticsLabel,
this._excludeFromSemantics = false,
this._theme = const SvgTheme(),
this._colorFilter,
this._placeholderBuilder,
BaseCacheManager? cacheManager,
}) : _url = url,
_cacheKey = cacheKey,
_placeholder = placeholder,
_errorBuilder = errorBuilder,
_width = width,
_height = height,
_headers = headers,
_fit = fit,
_alignment = alignment,
_matchTextDirection = matchTextDirection,
_allowDrawingOutsideViewBox = allowDrawingOutsideViewBox,
_semanticsLabel = semanticsLabel,
_excludeFromSemantics = excludeFromSemantics,
_theme = theme,
_colorFilter = colorFilter,
_placeholderBuilder = placeholderBuilder,
_cacheManager = cacheManager ?? DefaultCacheManager(),
super(key: key ?? ValueKey(cacheKey ?? url));