svgFile function
Widget
svgFile(
- String imageUri, {
- Key? key,
- BoxFit? fit,
- Color? color,
- double? width,
- double? height,
- Alignment alignment = Alignment.center,
- BlendMode? colorBlendMode,
- bool excludeFromSemantics = false,
- bool matchTextDirection = false,
- bool allowDrawingOutsideViewBox = false,
- Widget? placeholder,
- bool cacheColorFilter = false,
- ColorFilter? colorFilter,
Create svg image widget
Implementation
Widget svgFile(
String imageUri, {
Key? key,
BoxFit? fit,
Color? color,
double? width,
double? height,
Alignment alignment = Alignment.center,
BlendMode? colorBlendMode,
bool excludeFromSemantics = false,
bool matchTextDirection = false,
bool allowDrawingOutsideViewBox = false,
Widget? placeholder,
bool cacheColorFilter = false,
ui.ColorFilter? colorFilter,
}) {
throw UnsupportedError('File is not supported on web');
}