Create an instance of TouchBarImage with a key and data.
key
data
TouchBarImage({required this.key, required this.data});