decorationINToScaleDown method
- {AlignmentGeometry alignment = Alignment.center,
- Rect centerSlice,
- ColorFilter colorFilter,
- bool matchTextDirection = false,
- BoxFit fit = BoxFit.scaleDown,
- ImageRepeat repeat = ImageRepeat.noRepeat}
Implementation
DecorationImage decorationINToScaleDown(
{AlignmentGeometry alignment = Alignment.center,
Rect centerSlice,
ColorFilter colorFilter,
bool matchTextDirection = false,
BoxFit fit = BoxFit.scaleDown,
ImageRepeat repeat = ImageRepeat.noRepeat}) {
return DecorationImage(
alignment: alignment,
centerSlice: centerSlice,
colorFilter: colorFilter,
matchTextDirection: matchTextDirection,
repeat: repeat,
fit: fit,
image: NetworkImage(this));
}