ButtonStyle.fromJson constructor

ButtonStyle.fromJson(
  1. Map<String, dynamic> json
)

Implementation

ButtonStyle.fromJson(Map<String, dynamic> json) {
  color = json['color'];
  backgroundColor = json['backgroundColor'];
}