toString method
- @override
override
Returns a string representation of this object.
Implementation
@override
String toString() {
switch (_type) {
case _kTypeBlur:
return 'ImageFilter.blur(${_data[0]}, ${_data[1]})';
case _kTypeMatrix:
return 'ImageFilter.matrix($_data, $_filterQuality)';
default:
return 'Unknown ImageFilter type. This is an error. If you\'re seeing this, please file an issue at https://github.com/flutter/flutter/issues/new.';
}
}