ButtonStyle.fromJson constructor

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

Implementation

factory ButtonStyle.fromJson(Map<String, dynamic> json) => ButtonStyle(
      color: json["color"] == null ? null : json["color"],
    );