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