prettier IconData toString

This commit is contained in:
Ian Hickson
2016-03-22 22:13:32 -07:00
parent cae847dc98
commit cde947eaf1

View File

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