Data constructor
Data({
- required String name,
- required MaterialColor color,
- bool? value,
Implementation
Data(
{required this.name,
required this.color,
this.value});