Commit cde947ea authored by Ian Hickson's avatar Ian Hickson

prettier IconData toString

parent cae847dc
......@@ -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