we should probably just move the code from style_property.dart here, seems that having two files is not that useful here