parse method
Widget
parse(
- Map<
String, dynamic> map, - BuildContext buildContext,
- ClickListener? listener
override
parse the json map into a flutter widget.
Implementation
@override
Widget parse(Map<String, dynamic> map, BuildContext buildContext, ClickListener? listener) {
return Divider(
height: map["height"],
thickness: map["thickness"],
indent: map["indent"],
endIndent: map["endIndent"],
color: parseHexColor(map['color']),
);
}