Commit e6cffd28 authored by Ian Hickson's avatar Ian Hickson

Merge pull request #2842 from Hixie/icondata-tostring

prettier IconData toString
parents 5b090383 cde947ea
......@@ -18,7 +18,7 @@ class IconData {
int get hashCode => codePoint.hashCode;
@override
String toString() => 'IconData(codePoint: $codePoint)';
String toString() => 'IconData(U+${codePoint.toRadixString(16).toUpperCase().padLeft(5, '0')})';
}
/// Identifiers for the supported material design icons.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment